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

Side by Side Diff: extensions/shell/browser/shell_extensions_browser_client.h

Issue 2465253010: Add WebView PlzNavigate related fixes to extensions_browsertests harness. (Closed)
Patch Set: Created 4 years, 1 month 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 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 5 #ifndef EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 6 #define EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 void BroadcastEventToRenderers( 85 void BroadcastEventToRenderers(
86 events::HistogramValue histogram_value, 86 events::HistogramValue histogram_value,
87 const std::string& event_name, 87 const std::string& event_name,
88 std::unique_ptr<base::ListValue> args) override; 88 std::unique_ptr<base::ListValue> args) override;
89 net::NetLog* GetNetLog() override; 89 net::NetLog* GetNetLog() override;
90 ExtensionCache* GetExtensionCache() override; 90 ExtensionCache* GetExtensionCache() override;
91 bool IsBackgroundUpdateAllowed() override; 91 bool IsBackgroundUpdateAllowed() override;
92 bool IsMinBrowserVersionSupported(const std::string& min_version) override; 92 bool IsMinBrowserVersionSupported(const std::string& min_version) override;
93 ExtensionWebContentsObserver* GetExtensionWebContentsObserver( 93 ExtensionWebContentsObserver* GetExtensionWebContentsObserver(
94 content::WebContents* web_contents) override; 94 content::WebContents* web_contents) override;
95 ExtensionNavigationUIData* GetExtensionNavigationUIData(
96 net::URLRequest* request) override;
95 KioskDelegate* GetKioskDelegate() override; 97 KioskDelegate* GetKioskDelegate() override;
96 98
97 // Sets the API client. 99 // Sets the API client.
98 void SetAPIClientForTest(ExtensionsAPIClient* api_client); 100 void SetAPIClientForTest(ExtensionsAPIClient* api_client);
99 101
100 private: 102 private:
101 // The single BrowserContext for app_shell. Not owned. 103 // The single BrowserContext for app_shell. Not owned.
102 content::BrowserContext* browser_context_; 104 content::BrowserContext* browser_context_;
103 105
104 // The PrefService for |browser_context_|. Not owned. 106 // The PrefService for |browser_context_|. Not owned.
105 PrefService* pref_service_; 107 PrefService* pref_service_;
106 108
107 // Support for extension APIs. 109 // Support for extension APIs.
108 std::unique_ptr<ExtensionsAPIClient> api_client_; 110 std::unique_ptr<ExtensionsAPIClient> api_client_;
109 111
110 // The extension cache used for download and installation. 112 // The extension cache used for download and installation.
111 std::unique_ptr<ExtensionCache> extension_cache_; 113 std::unique_ptr<ExtensionCache> extension_cache_;
112 114
113 std::unique_ptr<KioskDelegate> kiosk_delegate_; 115 std::unique_ptr<KioskDelegate> kiosk_delegate_;
114 116
115 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient); 117 DISALLOW_COPY_AND_ASSIGN(ShellExtensionsBrowserClient);
116 }; 118 };
117 119
118 } // namespace extensions 120 } // namespace extensions
119 121
120 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_ 122 #endif // EXTENSIONS_SHELL_BROWSER_SHELL_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « extensions/shell/browser/shell_content_browser_client.cc ('k') | extensions/shell/browser/shell_extensions_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698