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

Side by Side Diff: chrome/browser/profiles/profile_info_cache_unittest.h

Issue 10500016: Move test_browser_thread.h from content\test to content\public\test. This way we can enforce that i… (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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
OLDNEW
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 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 10
11 #include "base/message_loop.h" 11 #include "base/message_loop.h"
12 #include "chrome/browser/profiles/profile_info_cache_observer.h" 12 #include "chrome/browser/profiles/profile_info_cache_observer.h"
13 #include "chrome/test/base/testing_profile_manager.h" 13 #include "chrome/test/base/testing_profile_manager.h"
14 #include "content/test/test_browser_thread.h" 14 #include "content/public/test/test_browser_thread.h"
15 #include "testing/gtest/include/gtest/gtest.h" 15 #include "testing/gtest/include/gtest/gtest.h"
16 16
17 class FilePath; 17 class FilePath;
18 class ProfileInfoCache; 18 class ProfileInfoCache;
19 19
20 // Class used to test that ProfileInfoCache does not try to access any 20 // Class used to test that ProfileInfoCache does not try to access any
21 // unexpected profile names. 21 // unexpected profile names.
22 class ProfileNameVerifierObserver : public ProfileInfoCacheObserver { 22 class ProfileNameVerifierObserver : public ProfileInfoCacheObserver {
23 public: 23 public:
24 explicit ProfileNameVerifierObserver( 24 explicit ProfileNameVerifierObserver(
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 TestingProfileManager testing_profile_manager_; 60 TestingProfileManager testing_profile_manager_;
61 61
62 private: 62 private:
63 MessageLoopForUI ui_loop_; 63 MessageLoopForUI ui_loop_;
64 content::TestBrowserThread ui_thread_; 64 content::TestBrowserThread ui_thread_;
65 content::TestBrowserThread file_thread_; 65 content::TestBrowserThread file_thread_;
66 ProfileNameVerifierObserver name_observer_; 66 ProfileNameVerifierObserver name_observer_;
67 }; 67 };
68 68
69 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_UNITTEST_H_ 69 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_UNITTEST_H_
OLDNEW
« no previous file with comments | « chrome/browser/process_singleton_linux_unittest.cc ('k') | chrome/browser/profiles/profile_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698