Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(281)

Side by Side Diff: chrome_frame/test/test_scrubber.cc

Issue 16391006: Use a direct include of strings headers in chrome_frame/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome_frame/test/reliability/page_load_test.cc ('k') | chrome_frame/test/test_server.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // The test scrubber uses a Google Test event listener to trigger scrubs. 5 // The test scrubber uses a Google Test event listener to trigger scrubs.
6 // Scrubs are performed at the start of the test program and at the conclusion 6 // Scrubs are performed at the start of the test program and at the conclusion
7 // of each test. 7 // of each test.
8 8
9 #include "chrome_frame/test/test_scrubber.h" 9 #include "chrome_frame/test/test_scrubber.h"
10 10
11 #include <windows.h> 11 #include <windows.h>
12 12
13 #include "base/compiler_specific.h" 13 #include "base/compiler_specific.h"
14 #include "base/file_util.h" 14 #include "base/file_util.h"
15 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
16 #include "base/lazy_instance.h" 16 #include "base/lazy_instance.h"
17 #include "base/logging.h" 17 #include "base/logging.h"
18 #include "base/process_util.h" 18 #include "base/process_util.h"
19 #include "base/string16.h" 19 #include "base/strings/string16.h"
20 #include "base/strings/utf_string_conversions.h" 20 #include "base/strings/utf_string_conversions.h"
21 #include "base/test/test_process_killer_win.h" 21 #include "base/test/test_process_killer_win.h"
22 #include "base/win/registry.h" 22 #include "base/win/registry.h"
23 #include "base/win/scoped_handle.h" 23 #include "base/win/scoped_handle.h"
24 #include "chrome/common/chrome_constants.h" 24 #include "chrome/common/chrome_constants.h"
25 #include "chrome/common/chrome_switches.h" 25 #include "chrome/common/chrome_switches.h"
26 #include "chrome_frame/test/chrome_frame_test_utils.h" 26 #include "chrome_frame/test/chrome_frame_test_utils.h"
27 #include "testing/gtest/include/gtest/gtest.h" 27 #include "testing/gtest/include/gtest/gtest.h"
28 28
29 namespace chrome_frame_test { 29 namespace chrome_frame_test {
(...skipping 108 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 138
139 void OverrideDataDirectoryForThisTest( 139 void OverrideDataDirectoryForThisTest(
140 const base::StringPiece16& user_data_dir) { 140 const base::StringPiece16& user_data_dir) {
141 // Must be called within the context of a test. 141 // Must be called within the context of a test.
142 DCHECK(testing::UnitTest::GetInstance()->current_test_info()); 142 DCHECK(testing::UnitTest::GetInstance()->current_test_info());
143 143
144 g_scrubber.Get().set_data_directory_override(user_data_dir); 144 g_scrubber.Get().set_data_directory_override(user_data_dir);
145 } 145 }
146 146
147 } // namespace chrome_frame_test 147 } // namespace chrome_frame_test
OLDNEW
« no previous file with comments | « chrome_frame/test/reliability/page_load_test.cc ('k') | chrome_frame/test/test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698