OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_UI_APP_LIST_TEST_FAKE_PROFILE_H_ | 5 #ifndef CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ |
6 #define CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ | 6 #define CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ |
7 | 7 |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/memory/ref_counted.h" | 9 #include "base/memory/ref_counted.h" |
10 #include "base/sequenced_task_runner.h" | 10 #include "base/sequenced_task_runner.h" |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 content::PushMessagingService* GetPushMessagingService() override; | 52 content::PushMessagingService* GetPushMessagingService() override; |
53 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; | 53 content::SSLHostStateDelegate* GetSSLHostStateDelegate() override; |
54 scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() override; | 54 scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() override; |
55 Profile* GetOffTheRecordProfile() override; | 55 Profile* GetOffTheRecordProfile() override; |
56 void DestroyOffTheRecordProfile() override; | 56 void DestroyOffTheRecordProfile() override; |
57 bool HasOffTheRecordProfile() override; | 57 bool HasOffTheRecordProfile() override; |
58 Profile* GetOriginalProfile() override; | 58 Profile* GetOriginalProfile() override; |
59 bool IsSupervised() override; | 59 bool IsSupervised() override; |
60 bool IsChild() override; | 60 bool IsChild() override; |
61 bool IsLegacySupervised() override; | 61 bool IsLegacySupervised() override; |
62 history::TopSites* GetTopSites() override; | |
63 history::TopSites* GetTopSitesWithoutCreating() override; | |
64 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; | 62 ExtensionSpecialStoragePolicy* GetExtensionSpecialStoragePolicy() override; |
65 PrefService* GetPrefs() override; | 63 PrefService* GetPrefs() override; |
66 PrefService* GetOffTheRecordPrefs() override; | 64 PrefService* GetOffTheRecordPrefs() override; |
67 net::URLRequestContextGetter* GetRequestContext() override; | 65 net::URLRequestContextGetter* GetRequestContext() override; |
68 net::URLRequestContextGetter* GetRequestContextForExtensions() override; | 66 net::URLRequestContextGetter* GetRequestContextForExtensions() override; |
69 net::SSLConfigService* GetSSLConfigService() override; | 67 net::SSLConfigService* GetSSLConfigService() override; |
70 HostContentSettingsMap* GetHostContentSettingsMap() override; | 68 HostContentSettingsMap* GetHostContentSettingsMap() override; |
71 bool IsSameProfile(Profile* profile) override; | 69 bool IsSameProfile(Profile* profile) override; |
72 base::Time GetStartTime() const override; | 70 base::Time GetStartTime() const override; |
73 net::URLRequestContextGetter* CreateRequestContext( | 71 net::URLRequestContextGetter* CreateRequestContext( |
(...skipping 23 matching lines...) Expand all Loading... |
97 bool WasCreatedByVersionOrLater(const std::string& version) override; | 95 bool WasCreatedByVersionOrLater(const std::string& version) override; |
98 void SetExitType(ExitType exit_type) override; | 96 void SetExitType(ExitType exit_type) override; |
99 ExitType GetLastSessionExitType() override; | 97 ExitType GetLastSessionExitType() override; |
100 | 98 |
101 private: | 99 private: |
102 std::string name_; | 100 std::string name_; |
103 base::FilePath path_; | 101 base::FilePath path_; |
104 }; | 102 }; |
105 | 103 |
106 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ | 104 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ |
OLD | NEW |