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

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

Issue 684613002: Standardize usage of virtual/override/final specifiers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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 7
8 #include <set> 8 #include <set>
9 9
10 #include "chrome/browser/profiles/profile_info_cache_observer.h" 10 #include "chrome/browser/profiles/profile_info_cache_observer.h"
(...skipping 27 matching lines...) Expand all
38 private: 38 private:
39 ProfileInfoCache* GetCache(); 39 ProfileInfoCache* GetCache();
40 std::set<base::string16> profile_names_; 40 std::set<base::string16> profile_names_;
41 TestingProfileManager* testing_profile_manager_; 41 TestingProfileManager* testing_profile_manager_;
42 DISALLOW_COPY_AND_ASSIGN(ProfileNameVerifierObserver); 42 DISALLOW_COPY_AND_ASSIGN(ProfileNameVerifierObserver);
43 }; 43 };
44 44
45 class ProfileInfoCacheTest : public testing::Test { 45 class ProfileInfoCacheTest : public testing::Test {
46 protected: 46 protected:
47 ProfileInfoCacheTest(); 47 ProfileInfoCacheTest();
48 virtual ~ProfileInfoCacheTest(); 48 ~ProfileInfoCacheTest() override;
49 49
50 virtual void SetUp() override; 50 void SetUp() override;
51 virtual void TearDown() override; 51 void TearDown() override;
52 52
53 ProfileInfoCache* GetCache(); 53 ProfileInfoCache* GetCache();
54 base::FilePath GetProfilePath(const std::string& base_name); 54 base::FilePath GetProfilePath(const std::string& base_name);
55 void ResetCache(); 55 void ResetCache();
56 56
57 protected: 57 protected:
58 TestingProfileManager testing_profile_manager_; 58 TestingProfileManager testing_profile_manager_;
59 59
60 private: 60 private:
61 content::TestBrowserThreadBundle thread_bundle_; 61 content::TestBrowserThreadBundle thread_bundle_;
62 ProfileNameVerifierObserver name_observer_; 62 ProfileNameVerifierObserver name_observer_;
63 }; 63 };
64 64
65 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_UNITTEST_H_ 65 #endif // CHROME_BROWSER_PROFILES_PROFILE_INFO_CACHE_UNITTEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698