Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(191)

Side by Side Diff: extensions/browser/test_extensions_browser_client.cc

Issue 2070753003: Revert "Add a new app API to enable watchdog behavior restarts in kiosk apps" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « extensions/browser/test_extensions_browser_client.h ('k') | extensions/common/api/runtime.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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/browser/test_extensions_browser_client.h" 5 #include "extensions/browser/test_extensions_browser_client.h"
6 6
7 #include "base/values.h" 7 #include "base/values.h"
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "content/public/browser/browser_context.h" 9 #include "content/public/browser/browser_context.h"
10 #include "extensions/browser/extension_host_delegate.h" 10 #include "extensions/browser/extension_host_delegate.h"
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 bool TestExtensionsBrowserClient::AllowCrossRendererResourceLoad( 115 bool TestExtensionsBrowserClient::AllowCrossRendererResourceLoad(
116 net::URLRequest* request, 116 net::URLRequest* request,
117 bool is_incognito, 117 bool is_incognito,
118 const Extension* extension, 118 const Extension* extension,
119 InfoMap* extension_info_map) { 119 InfoMap* extension_info_map) {
120 return false; 120 return false;
121 } 121 }
122 122
123 PrefService* TestExtensionsBrowserClient::GetPrefServiceForContext( 123 PrefService* TestExtensionsBrowserClient::GetPrefServiceForContext(
124 BrowserContext* context) { 124 BrowserContext* context) {
125 return nullptr; 125 return NULL;
126 } 126 }
127 127
128 void TestExtensionsBrowserClient::GetEarlyExtensionPrefsObservers( 128 void TestExtensionsBrowserClient::GetEarlyExtensionPrefsObservers(
129 content::BrowserContext* context, 129 content::BrowserContext* context,
130 std::vector<ExtensionPrefsObserver*>* observers) const {} 130 std::vector<ExtensionPrefsObserver*>* observers) const {}
131 131
132 ProcessManagerDelegate* TestExtensionsBrowserClient::GetProcessManagerDelegate() 132 ProcessManagerDelegate* TestExtensionsBrowserClient::GetProcessManagerDelegate()
133 const { 133 const {
134 return process_manager_delegate_; 134 return process_manager_delegate_;
135 } 135 }
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 212
213 scoped_refptr<update_client::UpdateClient> 213 scoped_refptr<update_client::UpdateClient>
214 TestExtensionsBrowserClient::CreateUpdateClient( 214 TestExtensionsBrowserClient::CreateUpdateClient(
215 content::BrowserContext* context) { 215 content::BrowserContext* context) {
216 return update_client_factory_.is_null() 216 return update_client_factory_.is_null()
217 ? nullptr 217 ? nullptr
218 : make_scoped_refptr(update_client_factory_.Run()); 218 : make_scoped_refptr(update_client_factory_.Run());
219 } 219 }
220 220
221 } // namespace extensions 221 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/test_extensions_browser_client.h ('k') | extensions/common/api/runtime.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698