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 CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ | 5 #ifndef CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ |
6 #define CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ | 6 #define CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ |
7 | 7 |
8 #include "base/compiler_specific.h" | 8 #include "base/compiler_specific.h" |
9 #include "base/files/file_path.h" | 9 #include "base/files/file_path.h" |
10 #include "base/memory/ref_counted.h" | 10 #include "base/memory/ref_counted.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(int group_id) | |
65 OVERRIDE; | |
jam
2014/01/02 22:50:56
nit: i believe the convention is never to start a
Kibeom Kim (inactive)
2014/01/02 23:26:36
Done.
| |
57 virtual ResourceContext* GetResourceContext() OVERRIDE; | 66 virtual ResourceContext* GetResourceContext() OVERRIDE; |
58 virtual GeolocationPermissionContext* | 67 virtual GeolocationPermissionContext* |
59 GetGeolocationPermissionContext() OVERRIDE; | 68 GetGeolocationPermissionContext() OVERRIDE; |
60 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; | 69 virtual quota::SpecialStoragePolicy* GetSpecialStoragePolicy() OVERRIDE; |
61 | 70 |
62 net::URLRequestContextGetter* CreateRequestContext( | 71 net::URLRequestContextGetter* CreateRequestContext( |
63 ProtocolHandlerMap* protocol_handlers); | 72 ProtocolHandlerMap* protocol_handlers); |
64 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( | 73 net::URLRequestContextGetter* CreateRequestContextForStoragePartition( |
65 const base::FilePath& partition_path, | 74 const base::FilePath& partition_path, |
66 bool in_memory, | 75 bool in_memory, |
(...skipping 13 matching lines...) Expand all Loading... | |
80 scoped_ptr<ShellResourceContext> resource_context_; | 89 scoped_ptr<ShellResourceContext> resource_context_; |
81 scoped_ptr<ShellDownloadManagerDelegate> download_manager_delegate_; | 90 scoped_ptr<ShellDownloadManagerDelegate> download_manager_delegate_; |
82 scoped_refptr<ShellURLRequestContextGetter> url_request_getter_; | 91 scoped_refptr<ShellURLRequestContextGetter> url_request_getter_; |
83 | 92 |
84 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); | 93 DISALLOW_COPY_AND_ASSIGN(ShellBrowserContext); |
85 }; | 94 }; |
86 | 95 |
87 } // namespace content | 96 } // namespace content |
88 | 97 |
89 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ | 98 #endif // CONTENT_SHELL_BROWSER_SHELL_BROWSER_CONTEXT_H_ |
OLD | NEW |