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

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

Issue 2379573008: Add SetImageData api to chrome.clipboard. (Closed)
Patch Set: Fix interactive_ui_tests issue. 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_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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 const ComponentExtensionResourceManager* 101 const ComponentExtensionResourceManager*
102 GetComponentExtensionResourceManager() override; 102 GetComponentExtensionResourceManager() override;
103 void BroadcastEventToRenderers( 103 void BroadcastEventToRenderers(
104 events::HistogramValue histogram_value, 104 events::HistogramValue histogram_value,
105 const std::string& event_name, 105 const std::string& event_name,
106 std::unique_ptr<base::ListValue> args) override; 106 std::unique_ptr<base::ListValue> args) override;
107 net::NetLog* GetNetLog() override; 107 net::NetLog* GetNetLog() override;
108 ExtensionCache* GetExtensionCache() override; 108 ExtensionCache* GetExtensionCache() override;
109 bool IsBackgroundUpdateAllowed() override; 109 bool IsBackgroundUpdateAllowed() override;
110 bool IsMinBrowserVersionSupported(const std::string& min_version) override; 110 bool IsMinBrowserVersionSupported(const std::string& min_version) override;
111 void SaveImageDataToClipboard(const std::vector<char>& image_data,
112 clipboard::ImageType type,
113 const base::Closure& success_callback,
114 const base::Closure& error_callback) override;
111 ExtensionWebContentsObserver* GetExtensionWebContentsObserver( 115 ExtensionWebContentsObserver* GetExtensionWebContentsObserver(
112 content::WebContents* web_contents) override; 116 content::WebContents* web_contents) override;
113 KioskDelegate* GetKioskDelegate() override; 117 KioskDelegate* GetKioskDelegate() override;
114 scoped_refptr<update_client::UpdateClient> CreateUpdateClient( 118 scoped_refptr<update_client::UpdateClient> CreateUpdateClient(
115 content::BrowserContext* context) override; 119 content::BrowserContext* context) override;
116 120
117 ExtensionSystemProvider* extension_system_factory() { 121 ExtensionSystemProvider* extension_system_factory() {
118 return extension_system_factory_; 122 return extension_system_factory_;
119 } 123 }
120 124
(...skipping 10 matching lines...) Expand all
131 std::unique_ptr<ExtensionCache> extension_cache_; 135 std::unique_ptr<ExtensionCache> extension_cache_;
132 136
133 base::Callback<update_client::UpdateClient*(void)> update_client_factory_; 137 base::Callback<update_client::UpdateClient*(void)> update_client_factory_;
134 138
135 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient); 139 DISALLOW_COPY_AND_ASSIGN(TestExtensionsBrowserClient);
136 }; 140 };
137 141
138 } // namespace extensions 142 } // namespace extensions
139 143
140 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_ 144 #endif // EXTENSIONS_BROWSER_TEST_EXTENSIONS_BROWSER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698