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

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

Issue 14272007: Update the remaining include paths of base/string_piece.h to its new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/net/fake_external_tab.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 cleans up machine state between tests. This includes 5 // The test scrubber cleans up machine state between tests. This includes
6 // killing all Internet Explorer processes, killing all Chrome processes spawned 6 // killing all Internet Explorer processes, killing all Chrome processes spawned
7 // by Chrome Frame, and deleting the user data directory. The scrubber must be 7 // by Chrome Frame, and deleting the user data directory. The scrubber must be
8 // installed before tests are run via |InstallTestScrubber|. 8 // installed before tests are run via |InstallTestScrubber|.
9 // 9 //
10 // Tests that lead to Chrome using a user data directory other than that used by 10 // Tests that lead to Chrome using a user data directory other than that used by
11 // Chrome Frame in IE must provide that directory to the scrubber via 11 // Chrome Frame in IE must provide that directory to the scrubber via
12 // |OverrideDataDirectoryForThisTest()|. Failure to do so will lead to the 12 // |OverrideDataDirectoryForThisTest()|. Failure to do so will lead to the
13 // scrubber failing to delete that directory. 13 // scrubber failing to delete that directory.
14 14
15 #ifndef CHROME_FRAME_TEST_TEST_SCRUBBER_H_ 15 #ifndef CHROME_FRAME_TEST_TEST_SCRUBBER_H_
16 #define CHROME_FRAME_TEST_TEST_SCRUBBER_H_ 16 #define CHROME_FRAME_TEST_TEST_SCRUBBER_H_
17 17
18 #include "base/string_piece.h" 18 #include "base/strings/string_piece.h"
19 19
20 namespace testing { 20 namespace testing {
21 class UnitTest; 21 class UnitTest;
22 } 22 }
23 23
24 namespace chrome_frame_test { 24 namespace chrome_frame_test {
25 25
26 // Install the scrubber in |unit_test| (call before RUN_ALL_TESTS). 26 // Install the scrubber in |unit_test| (call before RUN_ALL_TESTS).
27 void InstallTestScrubber(testing::UnitTest* unit_test); 27 void InstallTestScrubber(testing::UnitTest* unit_test);
28 28
29 // Override the user data directory that will be deleted by the scrubber at the 29 // Override the user data directory that will be deleted by the scrubber at the
30 // completion of the current test. 30 // completion of the current test.
31 void OverrideDataDirectoryForThisTest(const base::StringPiece16& user_data_dir); 31 void OverrideDataDirectoryForThisTest(const base::StringPiece16& user_data_dir);
32 32
33 } // namespace chrome_frame_test 33 } // namespace chrome_frame_test
34 34
35 #endif // CHROME_FRAME_TEST_TEST_SCRUBBER_H_ 35 #endif // CHROME_FRAME_TEST_TEST_SCRUBBER_H_
OLDNEW
« no previous file with comments | « chrome_frame/test/net/fake_external_tab.cc ('k') | chrome_frame/test/test_server.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698