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

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

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 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
117 std::unique_ptr<ExtensionApiFrameIdMapHelper> 117 std::unique_ptr<ExtensionApiFrameIdMapHelper>
118 CreateExtensionApiFrameIdMapHelper( 118 CreateExtensionApiFrameIdMapHelper(
119 ExtensionApiFrameIdMap* map) override; 119 ExtensionApiFrameIdMap* map) override;
120 std::unique_ptr<content::BluetoothChooser> CreateBluetoothChooser( 120 std::unique_ptr<content::BluetoothChooser> CreateBluetoothChooser(
121 content::RenderFrameHost* frame, 121 content::RenderFrameHost* frame,
122 const content::BluetoothChooser::EventHandler& event_handler) override; 122 const content::BluetoothChooser::EventHandler& event_handler) override;
123 bool IsActivityLoggingEnabled(content::BrowserContext* context) override; 123 bool IsActivityLoggingEnabled(content::BrowserContext* context) override;
124 extensions::ExtensionNavigationUIData* GetExtensionNavigationUIData( 124 extensions::ExtensionNavigationUIData* GetExtensionNavigationUIData(
125 net::URLRequest* request) override; 125 net::URLRequest* request) override;
126 KioskDelegate* GetKioskDelegate() override; 126 KioskDelegate* GetKioskDelegate() override;
127 bool IsLockScreenContext(content::BrowserContext* context) override;
127 128
128 private: 129 private:
129 friend struct base::LazyInstanceTraitsBase<ChromeExtensionsBrowserClient>; 130 friend struct base::LazyInstanceTraitsBase<ChromeExtensionsBrowserClient>;
130 131
131 // Support for ProcessManager. 132 // Support for ProcessManager.
132 std::unique_ptr<ChromeProcessManagerDelegate> process_manager_delegate_; 133 std::unique_ptr<ChromeProcessManagerDelegate> process_manager_delegate_;
133 134
134 // Client for API implementations. 135 // Client for API implementations.
135 std::unique_ptr<ChromeExtensionsAPIClient> api_client_; 136 std::unique_ptr<ChromeExtensionsAPIClient> api_client_;
136 137
137 std::unique_ptr<ChromeComponentExtensionResourceManager> resource_manager_; 138 std::unique_ptr<ChromeComponentExtensionResourceManager> resource_manager_;
138 139
139 std::unique_ptr<ExtensionCache> extension_cache_; 140 std::unique_ptr<ExtensionCache> extension_cache_;
140 141
141 std::unique_ptr<KioskDelegate> kiosk_delegate_; 142 std::unique_ptr<KioskDelegate> kiosk_delegate_;
142 143
143 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient); 144 DISALLOW_COPY_AND_ASSIGN(ChromeExtensionsBrowserClient);
144 }; 145 };
145 146
146 } // namespace extensions 147 } // namespace extensions
147 148
148 #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 | « chrome/browser/extensions/BUILD.gn ('k') | chrome/browser/extensions/chrome_extensions_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698