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

Side by Side Diff: chrome/browser/importer/importer_unittest_utils.h

Issue 11359217: Move scoped_temp_dir from base to base/files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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
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 #ifndef CHROME_BROWSER_IMPORTER_IMPORTER_UNITTEST_UTILS_H_ 5 #ifndef CHROME_BROWSER_IMPORTER_IMPORTER_UNITTEST_UTILS_H_
6 #define CHROME_BROWSER_IMPORTER_IMPORTER_UNITTEST_UTILS_H_ 6 #define CHROME_BROWSER_IMPORTER_IMPORTER_UNITTEST_UTILS_H_
7 7
8 #include "base/files/scoped_temp_dir.h"
8 #include "base/message_loop.h" 9 #include "base/message_loop.h"
9 #include "base/scoped_temp_dir.h"
10 #include "chrome/browser/importer/profile_writer.h" 10 #include "chrome/browser/importer/profile_writer.h"
11 #include "content/public/test/test_browser_thread.h" 11 #include "content/public/test/test_browser_thread.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 namespace importer { 14 namespace importer {
15 class ImporterProgressObserver; 15 class ImporterProgressObserver;
16 } 16 }
17 17
18 class TestingProfile; 18 class TestingProfile;
19 19
(...skipping 19 matching lines...) Expand all
39 // Test fixture class providing a message loop, ui/file thread, 39 // Test fixture class providing a message loop, ui/file thread,
40 // and a scoped temporary directory. 40 // and a scoped temporary directory.
41 class ImporterTest : public testing::Test { 41 class ImporterTest : public testing::Test {
42 public: 42 public:
43 ImporterTest(); 43 ImporterTest();
44 virtual ~ImporterTest(); 44 virtual ~ImporterTest();
45 45
46 protected: 46 protected:
47 virtual void SetUp() OVERRIDE; 47 virtual void SetUp() OVERRIDE;
48 48
49 ScopedTempDir temp_dir_; 49 base::ScopedTempDir temp_dir_;
50 scoped_ptr<TestingProfile> profile_; 50 scoped_ptr<TestingProfile> profile_;
51 51
52 private: 52 private:
53 MessageLoopForUI message_loop_; 53 MessageLoopForUI message_loop_;
54 content::TestBrowserThread ui_thread_; 54 content::TestBrowserThread ui_thread_;
55 content::TestBrowserThread file_thread_; 55 content::TestBrowserThread file_thread_;
56 }; 56 };
57 57
58 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_UNITTEST_UTILS_H_ 58 #endif // CHROME_BROWSER_IMPORTER_IMPORTER_UNITTEST_UTILS_H_
OLDNEW
« no previous file with comments | « chrome/browser/importer/firefox_profile_lock_unittest.cc ('k') | chrome/browser/importer/safari_importer_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698