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 28 matching lines...) Expand all Loading... |
39 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; | 39 virtual net::URLRequestContextGetter* GetMediaRequestContext() OVERRIDE; |
40 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( | 40 virtual net::URLRequestContextGetter* GetMediaRequestContextForRenderProcess( |
41 int renderer_child_id) OVERRIDE; | 41 int renderer_child_id) OVERRIDE; |
42 virtual net::URLRequestContextGetter* | 42 virtual net::URLRequestContextGetter* |
43 GetMediaRequestContextForStoragePartition( | 43 GetMediaRequestContextForStoragePartition( |
44 const base::FilePath& partition_path, | 44 const base::FilePath& partition_path, |
45 bool in_memory) OVERRIDE; | 45 bool in_memory) OVERRIDE; |
46 virtual void RequestMIDISysExPermission( | 46 virtual void RequestMIDISysExPermission( |
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 const GURL& requesting_frame, | 50 const GURL& requesting_frame, |
50 const MIDISysExPermissionCallback& callback) OVERRIDE; | 51 const MIDISysExPermissionCallback& callback) OVERRIDE; |
| 52 virtual void CancelMIDISysExPermissionRequest( |
| 53 int render_process_id, |
| 54 int render_view_id, |
| 55 int bridge_id, |
| 56 const GURL& requesting_frame) OVERRIDE; |
51 virtual content::ResourceContext* GetResourceContext() OVERRIDE; | 57 virtual content::ResourceContext* GetResourceContext() OVERRIDE; |
52 virtual content::GeolocationPermissionContext* | 58 virtual content::GeolocationPermissionContext* |
53 GetGeolocationPermissionContext() OVERRIDE; | 59 GetGeolocationPermissionContext() OVERRIDE; |
54 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 60 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
55 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; | 61 virtual scoped_refptr<base::SequencedTaskRunner> GetIOTaskRunner() OVERRIDE; |
56 virtual Profile* GetOffTheRecordProfile() OVERRIDE; | 62 virtual Profile* GetOffTheRecordProfile() OVERRIDE; |
57 virtual void DestroyOffTheRecordProfile() OVERRIDE; | 63 virtual void DestroyOffTheRecordProfile() OVERRIDE; |
58 virtual bool HasOffTheRecordProfile() OVERRIDE; | 64 virtual bool HasOffTheRecordProfile() OVERRIDE; |
59 virtual Profile* GetOriginalProfile() OVERRIDE; | 65 virtual Profile* GetOriginalProfile() OVERRIDE; |
60 virtual bool IsManaged() OVERRIDE; | 66 virtual bool IsManaged() OVERRIDE; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; | 103 virtual bool WasCreatedByVersionOrLater(const std::string& version) OVERRIDE; |
98 virtual void SetExitType(ExitType exit_type) OVERRIDE; | 104 virtual void SetExitType(ExitType exit_type) OVERRIDE; |
99 virtual ExitType GetLastSessionExitType() OVERRIDE; | 105 virtual ExitType GetLastSessionExitType() OVERRIDE; |
100 | 106 |
101 private: | 107 private: |
102 std::string name_; | 108 std::string name_; |
103 base::FilePath path_; | 109 base::FilePath path_; |
104 }; | 110 }; |
105 | 111 |
106 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ | 112 #endif // CHROME_BROWSER_UI_APP_LIST_TEST_FAKE_PROFILE_H_ |
OLD | NEW |