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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; | 64 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; |
65 virtual void CancelProtectedMediaIdentifierPermissionRequests( | 65 virtual void CancelProtectedMediaIdentifierPermissionRequests( |
66 int render_process_id, | 66 int render_process_id, |
67 int render_view_id, | 67 int render_view_id, |
68 const GURL& origin) OVERRIDE; | 68 const GURL& origin) OVERRIDE; |
69 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 69 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
70 virtual content::GeolocationPermissionContext* | 70 virtual content::GeolocationPermissionContext* |
71 GetGeolocationPermissionContext() OVERRIDE; | 71 GetGeolocationPermissionContext() OVERRIDE; |
72 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; | 72 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; |
73 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 73 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
| 74 virtual content::PushMessagingService* GetPushMessagingService() OVERRIDE; |
74 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; | 75 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; |
75 virtual Profile* GetOffTheRecordProfile() OVERRIDE; | 76 virtual Profile* GetOffTheRecordProfile() OVERRIDE; |
76 virtual void DestroyOffTheRecordProfile() OVERRIDE; | 77 virtual void DestroyOffTheRecordProfile() OVERRIDE; |
77 virtual bool HasOffTheRecordProfile() OVERRIDE; | 78 virtual bool HasOffTheRecordProfile() OVERRIDE; |
78 virtual Profile* GetOriginalProfile() OVERRIDE; | 79 virtual Profile* GetOriginalProfile() OVERRIDE; |
79 virtual bool IsSupervised() OVERRIDE; | 80 virtual bool IsSupervised() OVERRIDE; |
80 virtual history::TopSites* GetTopSites() OVERRIDE; | 81 virtual history::TopSites* GetTopSites() OVERRIDE; |
81 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; | 82 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; |
82 virtual ExtensionService* GetExtensionService() OVERRIDE; | 83 virtual ExtensionService* GetExtensionService() OVERRIDE; |
83 virtual ExtensionSpecialStoragePolicy* | 84 virtual ExtensionSpecialStoragePolicy* |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
121 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; | 122 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; |
122 virtual void SetExitType(ExitType exit_type) OVERRIDE; | 123 virtual void SetExitType(ExitType exit_type) OVERRIDE; |
123 virtual ExitType GetLastSessionExitType() OVERRIDE; | 124 virtual ExitType GetLastSessionExitType() OVERRIDE; |
124 | 125 |
125 private: | 126 private: |
126 std::string name_; | 127 std::string name_; |
127 base::FilePath path_; | 128 base::FilePath path_; |
128 }; | 129 }; |
129 | 130 |
130 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ | 131 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ |
OLD | NEW |