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

Side by Side Diff: chrome/browser/extensions/chrome_extensions_browser_client.h

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 | « no previous file | chrome/browser/extensions/chrome_extensions_browser_client.cc » ('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 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_
6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ 6 #define CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 ViewType view_type) override; 115 ViewType view_type) override;
116 scoped_refptr<update_client::UpdateClient> CreateUpdateClient( 116 scoped_refptr<update_client::UpdateClient> CreateUpdateClient(
117 content::BrowserContext* context) override; 117 content::BrowserContext* context) override;
118 std::unique_ptr<ExtensionApiFrameIdMapHelper> 118 std::unique_ptr<ExtensionApiFrameIdMapHelper>
119 CreateExtensionApiFrameIdMapHelper( 119 CreateExtensionApiFrameIdMapHelper(
120 ExtensionApiFrameIdMap* map) override; 120 ExtensionApiFrameIdMap* map) override;
121 std::unique_ptr<content::BluetoothChooser> CreateBluetoothChooser( 121 std::unique_ptr<content::BluetoothChooser> CreateBluetoothChooser(
122 content::RenderFrameHost* frame, 122 content::RenderFrameHost* frame,
123 const content::BluetoothChooser::EventHandler& event_handler) override; 123 const content::BluetoothChooser::EventHandler& event_handler) override;
124 bool IsActivityLoggingEnabled(content::BrowserContext* context) override; 124 bool IsActivityLoggingEnabled(content::BrowserContext* context) override;
125 extensions::ExtensionNavigationUIData* GetExtensionNavigationUIData(
126 net::URLRequest* request) override;
125 KioskDelegate* GetKioskDelegate() override; 127 KioskDelegate* GetKioskDelegate() override;
126 128
127 private: 129 private:
128 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsBrowserClient>; 130 friend struct base::DefaultLazyInstanceTraits<ChromeExtensionsBrowserClient>;
129 131
130 // Support for ProcessManager. 132 // Support for ProcessManager.
131 std::unique_ptr<ChromeProcessManagerDelegate> process_manager_delegate_; 133 std::unique_ptr<ChromeProcessManagerDelegate> process_manager_delegate_;
132 134
133 // Client for API implementations. 135 // Client for API implementations.
134 std::unique_ptr<ChromeExtensionsAPIClient> api_client_; 136 std::unique_ptr<ChromeExtensionsAPIClient> api_client_;
135 137
136 std::unique_ptr<ChromeComponentExtensionResourceManager> resource_manager_; 138 std::unique_ptr<ChromeComponentExtensionResourceManager> resource_manager_;
137 139
138 std::unique_ptr<ExtensionCache> extension_cache_; 140 std::unique_ptr<ExtensionCache> extension_cache_;
139 141
140 std::unique_ptr<KioskDelegate> kiosk_delegate_; 142 std::unique_ptr<KioskDelegate> kiosk_delegate_;
141 143
142 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); 144 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient);
143 }; 145 };
144 146
145 } // namespace extensions 147 } // namespace extensions
146 148
147 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_ 149 #endif // CHROME_BROWSER_EXTENSIONS_CHROME_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/extensions/chrome_extensions_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698