| 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 182 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
|  193 scoped_ptr<ExtensionHostDelegate> |  193 scoped_ptr<ExtensionHostDelegate> | 
|  194 ShellExtensionsBrowserClient::CreateExtensionHostDelegate() { |  194 ShellExtensionsBrowserClient::CreateExtensionHostDelegate() { | 
|  195   return scoped_ptr<ExtensionHostDelegate>(new ShellExtensionHostDelegate); |  195   return scoped_ptr<ExtensionHostDelegate>(new ShellExtensionHostDelegate); | 
|  196 } |  196 } | 
|  197  |  197  | 
|  198 bool ShellExtensionsBrowserClient::DidVersionUpdate(BrowserContext* context) { |  198 bool ShellExtensionsBrowserClient::DidVersionUpdate(BrowserContext* context) { | 
|  199   // TODO(jamescook): We might want to tell extensions when app_shell updates. |  199   // TODO(jamescook): We might want to tell extensions when app_shell updates. | 
|  200   return false; |  200   return false; | 
|  201 } |  201 } | 
|  202  |  202  | 
 |  203 void ShellExtensionsBrowserClient::PermitExternalProtocolHandler() { | 
 |  204 } | 
 |  205  | 
|  203 scoped_ptr<AppSorting> ShellExtensionsBrowserClient::CreateAppSorting() { |  206 scoped_ptr<AppSorting> ShellExtensionsBrowserClient::CreateAppSorting() { | 
|  204   return scoped_ptr<AppSorting>(new ShellAppSorting); |  207   return scoped_ptr<AppSorting>(new ShellAppSorting); | 
|  205 } |  208 } | 
|  206  |  209  | 
|  207 bool ShellExtensionsBrowserClient::IsRunningInForcedAppMode() { |  210 bool ShellExtensionsBrowserClient::IsRunningInForcedAppMode() { | 
|  208   return false; |  211   return false; | 
|  209 } |  212 } | 
|  210  |  213  | 
|  211 ApiActivityMonitor* ShellExtensionsBrowserClient::GetApiActivityMonitor( |  214 ApiActivityMonitor* ShellExtensionsBrowserClient::GetApiActivityMonitor( | 
|  212     BrowserContext* context) { |  215     BrowserContext* context) { | 
| (...skipping 24 matching lines...) Expand all  Loading... | 
|  237 ComponentExtensionResourceManager* |  240 ComponentExtensionResourceManager* | 
|  238 ShellExtensionsBrowserClient::GetComponentExtensionResourceManager() { |  241 ShellExtensionsBrowserClient::GetComponentExtensionResourceManager() { | 
|  239   return NULL; |  242   return NULL; | 
|  240 } |  243 } | 
|  241  |  244  | 
|  242 net::NetLog* ShellExtensionsBrowserClient::GetNetLog() { |  245 net::NetLog* ShellExtensionsBrowserClient::GetNetLog() { | 
|  243   return NULL; |  246   return NULL; | 
|  244 } |  247 } | 
|  245  |  248  | 
|  246 }  // namespace extensions |  249 }  // namespace extensions | 
| OLD | NEW |