OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "extensions/shell/browser/shell_extensions_browser_client.h" | 5 #include "extensions/shell/browser/shell_extensions_browser_client.h" |
6 | 6 |
7 #include "base/prefs/pref_service.h" | 7 #include "base/prefs/pref_service.h" |
8 #include "base/prefs/pref_service_factory.h" | 8 #include "base/prefs/pref_service_factory.h" |
9 #include "base/prefs/testing_pref_store.h" | 9 #include "base/prefs/testing_pref_store.h" |
10 #include "components/pref_registry/pref_registry_syncable.h" | 10 #include "components/pref_registry/pref_registry_syncable.h" |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 content::BrowserContext* context) const { | 101 content::BrowserContext* context) const { |
102 return false; | 102 return false; |
103 } | 103 } |
104 | 104 |
105 bool ShellExtensionsBrowserClient::CanExtensionCrossIncognito( | 105 bool ShellExtensionsBrowserClient::CanExtensionCrossIncognito( |
106 const Extension* extension, | 106 const Extension* extension, |
107 content::BrowserContext* context) const { | 107 content::BrowserContext* context) const { |
108 return false; | 108 return false; |
109 } | 109 } |
110 | 110 |
111 bool ShellExtensionsBrowserClient::IsWebViewRequest( | |
112 net::URLRequest* request) const { | |
113 return false; | |
114 } | |
115 | |
116 net::URLRequestJob* | 111 net::URLRequestJob* |
117 ShellExtensionsBrowserClient::MaybeCreateResourceBundleRequestJob( | 112 ShellExtensionsBrowserClient::MaybeCreateResourceBundleRequestJob( |
118 net::URLRequest* request, | 113 net::URLRequest* request, |
119 net::NetworkDelegate* network_delegate, | 114 net::NetworkDelegate* network_delegate, |
120 const base::FilePath& directory_path, | 115 const base::FilePath& directory_path, |
121 const std::string& content_security_policy, | 116 const std::string& content_security_policy, |
122 bool send_cors_header) { | 117 bool send_cors_header) { |
123 return NULL; | 118 return NULL; |
124 } | 119 } |
125 | 120 |
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 | 213 |
219 scoped_ptr<Event> event(new Event(event_name, args.Pass())); | 214 scoped_ptr<Event> event(new Event(event_name, args.Pass())); |
220 EventRouter::Get(browser_context_)->BroadcastEvent(event.Pass()); | 215 EventRouter::Get(browser_context_)->BroadcastEvent(event.Pass()); |
221 } | 216 } |
222 | 217 |
223 net::NetLog* ShellExtensionsBrowserClient::GetNetLog() { | 218 net::NetLog* ShellExtensionsBrowserClient::GetNetLog() { |
224 return NULL; | 219 return NULL; |
225 } | 220 } |
226 | 221 |
227 } // namespace extensions | 222 } // namespace extensions |
OLD | NEW |