summaryrefslogtreecommitdiff
path: root/dhcp_provider_unittest.cc
diff options
context:
space:
mode:
authorChris Masone <cmasone@chromium.org>2011-06-22 10:58:09 -0700
committerChris Masone <cmasone@chromium.org>2011-06-27 12:20:25 -0700
commit2b10554b6c736f3421102d483b74b70bb82f997c (patch)
tree31da1860766c6cc4a5a972507a4559768d8fd524 /dhcp_provider_unittest.cc
parent853b81b19ddcd39561df2bde9c61b7106a9ee9d6 (diff)
downloadshill-2b10554b6c736f3421102d483b74b70bb82f997c.tar.gz
[shill] Use ref-counted pointers more, break unneeded header deps
1) Replace more bare pointers with ref-counted pointers. 2) Move declarations of *RefPtr into a header file with fwd-declared classes 3) Make class headers include that, move inclusion of real headers to .cc files. BUG=None TEST=unit tests Change-Id: I8208c82377c6dbefe6903561a503b8db63f063d6 Reviewed-on: http://gerrit.chromium.org/gerrit/3177 Reviewed-by: Chris Masone <cmasone@chromium.org> Tested-by: Chris Masone <cmasone@chromium.org>
Diffstat (limited to 'dhcp_provider_unittest.cc')
-rw-r--r--dhcp_provider_unittest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/dhcp_provider_unittest.cc b/dhcp_provider_unittest.cc
index 14103dff..2dd33148 100644
--- a/dhcp_provider_unittest.cc
+++ b/dhcp_provider_unittest.cc
@@ -3,6 +3,8 @@
// found in the LICENSE file.
#include "shill/dhcp_provider.h"
+
+#include "shill/dhcp_config.h"
#include "shill/mock_glib.h"
using testing::Test;