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

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

Issue 2892403002: Introduce lock screen app context to extension features (Closed)
Patch Set: . Created 3 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
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 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 } 216 }
217 217
218 scoped_refptr<update_client::UpdateClient> 218 scoped_refptr<update_client::UpdateClient>
219 TestExtensionsBrowserClient::CreateUpdateClient( 219 TestExtensionsBrowserClient::CreateUpdateClient(
220 content::BrowserContext* context) { 220 content::BrowserContext* context) {
221 return update_client_factory_.is_null() 221 return update_client_factory_.is_null()
222 ? nullptr 222 ? nullptr
223 : make_scoped_refptr(update_client_factory_.Run()); 223 : make_scoped_refptr(update_client_factory_.Run());
224 } 224 }
225 225
226 bool TestExtensionsBrowserClient::IsLockScreenContext(
227 content::BrowserContext* context) {
228 return false;
229 }
Devlin 2017/06/03 02:19:15 nit: \n
tbarzic 2017/06/05 19:35:40 Done.
226 } // namespace extensions 230 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698