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

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

Issue 2379573008: Add SetImageData api to chrome.clipboard. (Closed)
Patch Set: Add a warning in clipboard.idl about the future deprecation plan. Created 4 years 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 bool IsSameContext(content::BrowserContext* first, 55 bool IsSameContext(content::BrowserContext* first,
56 content::BrowserContext* second) override; 56 content::BrowserContext* second) override;
57 bool HasOffTheRecordContext(content::BrowserContext* context) override; 57 bool HasOffTheRecordContext(content::BrowserContext* context) override;
58 content::BrowserContext* GetOffTheRecordContext( 58 content::BrowserContext* GetOffTheRecordContext(
59 content::BrowserContext* context) override; 59 content::BrowserContext* context) override;
60 content::BrowserContext* GetOriginalContext( 60 content::BrowserContext* GetOriginalContext(
61 content::BrowserContext* context) override; 61 content::BrowserContext* context) override;
62 #if defined(OS_CHROMEOS) 62 #if defined(OS_CHROMEOS)
63 std::string GetUserIdHashFromContext( 63 std::string GetUserIdHashFromContext(
64 content::BrowserContext* context) override; 64 content::BrowserContext* context) override;
65 void SaveImageDataToClipboard(const std::vector<char>& image_data,
66 api::clipboard::ImageType type,
67 const base::Closure& success_callback,
68 const ErrorCallback& error_callback) override;
65 #endif 69 #endif
66 bool IsGuestSession(content::BrowserContext* context) const override; 70 bool IsGuestSession(content::BrowserContext* context) const override;
67 bool IsExtensionIncognitoEnabled( 71 bool IsExtensionIncognitoEnabled(
68 const std::string& extension_id, 72 const std::string& extension_id,
69 content::BrowserContext* context) const override; 73 content::BrowserContext* context) const override;
70 bool CanExtensionCrossIncognito( 74 bool CanExtensionCrossIncognito(
71 const extensions::Extension* extension, 75 const extensions::Extension* extension,
72 content::BrowserContext* context) const override; 76 content::BrowserContext* context) const override;
73 net::URLRequestJob* MaybeCreateResourceBundleRequestJob( 77 net::URLRequestJob* MaybeCreateResourceBundleRequestJob(
74 net::URLRequest* request, 78 net::URLRequest* request,
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
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