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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 int render_view_id, | 61 int render_view_id, |
62 int bridge_id, | 62 int bridge_id, |
63 int group_id, | 63 int group_id, |
64 const GURL& requesting_frame, | 64 const GURL& requesting_frame, |
65 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; | 65 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; |
66 virtual void CancelProtectedMediaIdentifierPermissionRequests( | 66 virtual void CancelProtectedMediaIdentifierPermissionRequests( |
67 int group_id) OVERRIDE; | 67 int group_id) OVERRIDE; |
68 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 68 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
69 virtual content::GeolocationPermissionContext* | 69 virtual content::GeolocationPermissionContext* |
70 GetGeolocationPermissionContext() OVERRIDE; | 70 GetGeolocationPermissionContext() OVERRIDE; |
71 virtual content::BrowserPluginGuestManagerDelegate* | 71 virtual content::BrowserPluginGuestManager* GetGuestManager() OVERRIDE; |
72 GetGuestManagerDelegate() OVERRIDE; | |
73 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 72 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
74 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; | 73 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; |
75 virtual Profile* GetOffTheRecordProfile() OVERRIDE; | 74 virtual Profile* GetOffTheRecordProfile() OVERRIDE; |
76 virtual void DestroyOffTheRecordProfile() OVERRIDE; | 75 virtual void DestroyOffTheRecordProfile() OVERRIDE; |
77 virtual bool HasOffTheRecordProfile() OVERRIDE; | 76 virtual bool HasOffTheRecordProfile() OVERRIDE; |
78 virtual Profile* GetOriginalProfile() OVERRIDE; | 77 virtual Profile* GetOriginalProfile() OVERRIDE; |
79 virtual bool IsManaged() OVERRIDE; | 78 virtual bool IsManaged() OVERRIDE; |
80 virtual history::TopSites* GetTopSites() OVERRIDE; | 79 virtual history::TopSites* GetTopSites() OVERRIDE; |
81 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; | 80 virtual history::TopSites* GetTopSitesWithoutCreating() OVERRIDE; |
82 virtual ExtensionService* GetExtensionService() OVERRIDE; | 81 virtual ExtensionService* GetExtensionService() OVERRIDE; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; | 116 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; |
118 virtual void SetExitType(ExitType exit_type) OVERRIDE; | 117 virtual void SetExitType(ExitType exit_type) OVERRIDE; |
119 virtual ExitType GetLastSessionExitType() OVERRIDE; | 118 virtual ExitType GetLastSessionExitType() OVERRIDE; |
120 | 119 |
121 private: | 120 private: |
122 std::string name_; | 121 std::string name_; |
123 base::FilePath path_; | 122 base::FilePath path_; |
124 }; | 123 }; |
125 | 124 |
126 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ | 125 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ |
OLD | NEW |