OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_PROFILES_PROFILE_INFO_CACHE_UNITTEST_H_ | 5 #ifndef CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_UNITTEST_H_ |
6 #define CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_UNITTEST_H_ | 6 #define CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_UNITTEST_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 | 9 |
10 #include "base/message_loop.h" | 10 #include "base/message_loop.h" |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 virtual void TearDown() OVERRIDE; | 55 virtual void TearDown() OVERRIDE; |
56 | 56 |
57 ProfileInfoCache* GetCache(); | 57 ProfileInfoCache* GetCache(); |
58 base::FilePath GetProfilePath(const std::string& base_name); | 58 base::FilePath GetProfilePath(const std::string& base_name); |
59 void ResetCache(); | 59 void ResetCache(); |
60 | 60 |
61 protected: | 61 protected: |
62 TestingProfileManager testing_profile_manager_; | 62 TestingProfileManager testing_profile_manager_; |
63 | 63 |
64 private: | 64 private: |
65 MessageLoopForUI ui_loop_; | 65 base::MessageLoopForUI ui_loop_; |
66 content::TestBrowserThread ui_thread_; | 66 content::TestBrowserThread ui_thread_; |
67 content::TestBrowserThread file_thread_; | 67 content::TestBrowserThread file_thread_; |
68 ProfileNameVerifierObserver name_observer_; | 68 ProfileNameVerifierObserver name_observer_; |
69 }; | 69 }; |
70 | 70 |
71 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_UNITTEST_H_ | 71 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_UNITTEST_H_ |
OLD | NEW |