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

Side by Side Diff: extensions/browser/api/extensions_api_client.cc

Issue 2837983002: Modify SetImageData to add additional items along with image data to save on clipboard. (Closed)
Patch Set: Nits and rebase. Created 3 years, 7 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
« no previous file with comments | « extensions/browser/api/extensions_api_client.h ('k') | extensions/common/api/clipboard.idl » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "extensions/browser/api/extensions_api_client.h" 5 #include "extensions/browser/api/extensions_api_client.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "base/memory/ptr_util.h" 8 #include "base/memory/ptr_util.h"
9 #include "extensions/browser/api/device_permissions_prompt.h" 9 #include "extensions/browser/api/device_permissions_prompt.h"
10 #include "extensions/browser/api/virtual_keyboard_private/virtual_keyboard_deleg ate.h" 10 #include "extensions/browser/api/virtual_keyboard_private/virtual_keyboard_deleg ate.h"
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 110
111 #if defined(OS_CHROMEOS) 111 #if defined(OS_CHROMEOS)
112 NonNativeFileSystemDelegate* 112 NonNativeFileSystemDelegate*
113 ExtensionsAPIClient::GetNonNativeFileSystemDelegate() { 113 ExtensionsAPIClient::GetNonNativeFileSystemDelegate() {
114 return nullptr; 114 return nullptr;
115 } 115 }
116 116
117 void ExtensionsAPIClient::SaveImageDataToClipboard( 117 void ExtensionsAPIClient::SaveImageDataToClipboard(
118 const std::vector<char>& image_data, 118 const std::vector<char>& image_data,
119 api::clipboard::ImageType type, 119 api::clipboard::ImageType type,
120 AdditionalDataItemList additional_items,
120 const base::Closure& success_callback, 121 const base::Closure& success_callback,
121 const base::Callback<void(const std::string&)>& error_callback) {} 122 const base::Callback<void(const std::string&)>& error_callback) {}
122 #endif 123 #endif
123 124
124 } // namespace extensions 125 } // namespace extensions
OLDNEW
« no previous file with comments | « extensions/browser/api/extensions_api_client.h ('k') | extensions/common/api/clipboard.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698