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

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

Issue 2432153003: Make sure the default CSP is used for <webview> with PlzNavigate. (Closed)
Patch Set: add comment Created 4 years, 2 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/extensions_browser_client.h ('k') | extensions/browser/url_request_util.h » ('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 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 #include "extensions/browser/extensions_browser_client.h" 5 #include "extensions/browser/extensions_browser_client.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "components/update_client/update_client.h" 8 #include "components/update_client/update_client.h"
9 #include "extensions/browser/extension_api_frame_id_map.h" 9 #include "extensions/browser/extension_api_frame_id_map.h"
10 #include "extensions/browser/extension_error.h" 10 #include "extensions/browser/extension_error.h"
(...skipping 29 matching lines...) Expand all
40 content::BrowserContext* context, 40 content::BrowserContext* context,
41 std::unique_ptr<ExtensionError> error) { 41 std::unique_ptr<ExtensionError> error) {
42 LOG(ERROR) << error->GetDebugString(); 42 LOG(ERROR) << error->GetDebugString();
43 } 43 }
44 44
45 bool ExtensionsBrowserClient::IsActivityLoggingEnabled( 45 bool ExtensionsBrowserClient::IsActivityLoggingEnabled(
46 content::BrowserContext* context) { 46 content::BrowserContext* context) {
47 return false; 47 return false;
48 } 48 }
49 49
50 ExtensionNavigationUIData*
51 ExtensionsBrowserClient::GetExtensionNavigationUIData(
52 net::URLRequest* request) {
53 return nullptr;
54 }
55
50 ExtensionsBrowserClient* ExtensionsBrowserClient::Get() { 56 ExtensionsBrowserClient* ExtensionsBrowserClient::Get() {
51 return g_client; 57 return g_client;
52 } 58 }
53 59
54 void ExtensionsBrowserClient::Set(ExtensionsBrowserClient* client) { 60 void ExtensionsBrowserClient::Set(ExtensionsBrowserClient* client) {
55 g_client = client; 61 g_client = client;
56 } 62 }
57 63
58 } // namespace extensions 64 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/extensions_browser_client.h ('k') | extensions/browser/url_request_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698