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

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

Issue 1970613003: Add a new app API to enable watchdog behavior restarts in kiosk apps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nitty nit. Created 4 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 #ifndef EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ 5 #ifndef EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_
6 #define EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ 6 #define EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_
7 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 #include <vector> 10 #include <vector>
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 std::unique_ptr<base::ListValue> args) override; 107 std::unique_ptr<base::ListValue> args) override;
108 net::NetLog* GetNetLog() override; 108 net::NetLog* GetNetLog() override;
109 ExtensionCache* GetExtensionCache() override; 109 ExtensionCache* GetExtensionCache() override;
110 bool IsBackgroundUpdateAllowed() override; 110 bool IsBackgroundUpdateAllowed() override;
111 bool IsMinBrowserVersionSupported(const std::string& min_version) override; 111 bool IsMinBrowserVersionSupported(const std::string& min_version) override;
112 ExtensionWebContentsObserver* GetExtensionWebContentsObserver( 112 ExtensionWebContentsObserver* GetExtensionWebContentsObserver(
113 content::WebContents* web_contents) override; 113 content::WebContents* web_contents) override;
114 scoped_refptr<update_client::UpdateClient> CreateUpdateClient( 114 scoped_refptr<update_client::UpdateClient> CreateUpdateClient(
115 content::BrowserContext* context) override; 115 content::BrowserContext* context) override;
116 116
117 ExtensionSystemProvider* extension_system_factory() {
118 return extension_system_factory_;
119 }
120
117 private: 121 private:
118 content::BrowserContext* main_context_; // Not owned. 122 content::BrowserContext* main_context_; // Not owned.
119 content::BrowserContext* incognito_context_; // Not owned, defaults to NULL. 123 content::BrowserContext* incognito_context_; // Not owned, defaults to NULL.
120 124
121 // Not owned, defaults to NULL. 125 // Not owned, defaults to NULL.
122 ProcessManagerDelegate* process_manager_delegate_; 126 ProcessManagerDelegate* process_manager_delegate_;
123 127
124 // Not owned, defaults to NULL. 128 // Not owned, defaults to NULL.
125 ExtensionSystemProvider* extension_system_factory_; 129 ExtensionSystemProvider* extension_system_factory_;
126 130
127 std::unique_ptr<ExtensionCache> extension_cache_; 131 std::unique_ptr<ExtensionCache> extension_cache_;
128 132
129 base::Callback<update_client::UpdateClient*(void)> update_client_factory_; 133 base::Callback<update_client::UpdateClient*(void)> update_client_factory_;
130 134
131 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient); 135 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient);
132 }; 136 };
133 137
134 } // namespace extensions 138 } // namespace extensions
135 139
136 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ 140 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW
« no previous file with comments | « extensions/browser/extension_function_histogram_value.h ('k') | extensions/browser/test_extensions_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698