summaryrefslogtreecommitdiffstats
path: root/chrome_frame/test
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-19 03:49:38 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-19 03:49:38 +0000
commit864b1368516c110605addd725ad33613047f94b2 (patch)
tree0f4d802f08b43df658ec45df351089e108f63b1b /chrome_frame/test
parent2803418949500717c4cbd1cb27fec8b03485e77a (diff)
downloadchromium_src-864b1368516c110605addd725ad33613047f94b2.zip
chromium_src-864b1368516c110605addd725ad33613047f94b2.tar.gz
chromium_src-864b1368516c110605addd725ad33613047f94b2.tar.bz2
FBTF: Remove unneeded headers from base/ (part 6)
BUG=none TEST=none Review URL: http://codereview.chromium.org/3093013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@56641 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/test')
-rw-r--r--chrome_frame/test/chrome_frame_test_utils.h4
-rw-r--r--chrome_frame/test/net/process_singleton_subclass.h9
-rw-r--r--chrome_frame/test/util_unittests.cc2
3 files changed, 9 insertions, 6 deletions
diff --git a/chrome_frame/test/chrome_frame_test_utils.h b/chrome_frame/test/chrome_frame_test_utils.h
index 3e63009..199be72 100644
--- a/chrome_frame/test/chrome_frame_test_utils.h
+++ b/chrome_frame/test/chrome_frame_test_utils.h
@@ -7,7 +7,6 @@
#include <atlbase.h>
#include <atlcom.h>
-#include <string>
#include <exdisp.h>
#include <exdispid.h>
#include <mshtml.h>
@@ -15,7 +14,10 @@
#include <shobjidl.h>
#include <windows.h>
+#include <string>
+
#include "base/basictypes.h"
+#include "base/compiler_specific.h"
#include "base/message_loop.h"
#include "base/process_util.h"
#include "base/scoped_comptr_win.h"
diff --git a/chrome_frame/test/net/process_singleton_subclass.h b/chrome_frame/test/net/process_singleton_subclass.h
index dd9ce36..6846c1d 100644
--- a/chrome_frame/test/net/process_singleton_subclass.h
+++ b/chrome_frame/test/net/process_singleton_subclass.h
@@ -1,12 +1,14 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_FRAME_TEST_NET_PROCESS_SINGLETON_SUBCLASS_H_
#define CHROME_FRAME_TEST_NET_PROCESS_SINGLETON_SUBCLASS_H_
#include <windows.h>
-#include "base/file_path.h"
+#include <string>
+
+class FilePath;
struct FunctionStub;
class ProcessSingletonSubclassDelegate {
@@ -17,7 +19,7 @@ class ProcessSingletonSubclassDelegate {
class ProcessSingletonSubclass {
public:
- ProcessSingletonSubclass(ProcessSingletonSubclassDelegate* delegate);
+ explicit ProcessSingletonSubclass(ProcessSingletonSubclassDelegate* delegate);
~ProcessSingletonSubclass();
bool Subclass(const FilePath& user_data_dir);
@@ -33,4 +35,3 @@ class ProcessSingletonSubclass {
};
#endif // CHROME_FRAME_TEST_NET_PROCESS_SINGLETON_SUBCLASS_H_
-
diff --git a/chrome_frame/test/util_unittests.cc b/chrome_frame/test/util_unittests.cc
index 95c55c7..f8ef22e 100644
--- a/chrome_frame/test/util_unittests.cc
+++ b/chrome_frame/test/util_unittests.cc
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include "base/file_path.h"
#include "base/file_version_info.h"
#include "base/file_version_info_win.h"
#include "chrome_frame/utils.h"
@@ -284,4 +285,3 @@ TEST(UtilTests, ParseVersionTest) {
EXPECT_TRUE(ParseVersion(L"1.2.3.4", &high, &low) && high == 1 && low == 2);
EXPECT_TRUE(ParseVersion(L"10.20", &high, &low) && high == 10 && low == 20);
}
-