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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 int render_process_id, | 47 int render_process_id, |
48 int render_view_id, | 48 int render_view_id, |
49 int bridge_id, | 49 int bridge_id, |
50 const GURL& requesting_frame, | 50 const GURL& requesting_frame, |
51 const MIDISysExPermissionCallback& callback) OVERRIDE; | 51 const MIDISysExPermissionCallback& callback) OVERRIDE; |
52 virtual void CancelMIDISysExPermissionRequest( | 52 virtual void CancelMIDISysExPermissionRequest( |
53 int render_process_id, | 53 int render_process_id, |
54 int render_view_id, | 54 int render_view_id, |
55 int bridge_id, | 55 int bridge_id, |
56 const GURL& requesting_frame) OVERRIDE; | 56 const GURL& requesting_frame) OVERRIDE; |
| 57 virtual void RequestProtectedMediaIdentifierPermission( |
| 58 int render_process_id, |
| 59 int render_view_id, |
| 60 int bridge_id, |
| 61 int group_id, |
| 62 const GURL& requesting_frame, |
| 63 const ProtectedMediaIdentifierPermissionCallback& callback) OVERRIDE; |
| 64 virtual void CancelProtectedMediaIdentifierPermissionRequests( |
| 65 int group_id) OVERRIDE; |
57 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 66 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
58 virtual content::GeolocationPermissionContext* | 67 virtual content::GeolocationPermissionContext* |
59 GetGeolocationPermissionContext() OVERRIDE; | 68 GetGeolocationPermissionContext() OVERRIDE; |
60 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 69 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
61 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; | 70 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; |
62 virtual Profile* GetOffTheRecordProfile() OVERRIDE; | 71 virtual Profile* GetOffTheRecordProfile() OVERRIDE; |
63 virtual void DestroyOffTheRecordProfile() OVERRIDE; | 72 virtual void DestroyOffTheRecordProfile() OVERRIDE; |
64 virtual bool HasOffTheRecordProfile() OVERRIDE; | 73 virtual bool HasOffTheRecordProfile() OVERRIDE; |
65 virtual Profile* GetOriginalProfile() OVERRIDE; | 74 virtual Profile* GetOriginalProfile() OVERRIDE; |
66 virtual bool IsManaged() OVERRIDE; | 75 virtual bool IsManaged() OVERRIDE; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; | 111 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; |
103 virtual void SetExitType(ExitType exit_type) OVERRIDE; | 112 virtual void SetExitType(ExitType exit_type) OVERRIDE; |
104 virtual ExitType GetLastSessionExitType() OVERRIDE; | 113 virtual ExitType GetLastSessionExitType() OVERRIDE; |
105 | 114 |
106 private: | 115 private: |
107 std::string name_; | 116 std::string name_; |
108 base::FilePath path_; | 117 base::FilePath path_; |
109 }; | 118 }; |
110 | 119 |
111 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ | 120 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ |
OLD | NEW |