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

Side by Side Diff: app/os_exchange_data.cc

Issue 351029: Support dragging a virtual file out of the browser. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « app/os_exchange_data.h ('k') | app/os_exchange_data_provider_win.h » ('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 (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 "app/os_exchange_data.h" 5 #include "app/os_exchange_data.h"
6 6
7 #include "base/pickle.h" 7 #include "base/pickle.h"
8 #include "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.h"
9 9
10 OSExchangeData::OSExchangeData() : provider_(CreateProvider()) { 10 OSExchangeData::OSExchangeData() : provider_(CreateProvider()) {
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 } 121 }
122 122
123 bool OSExchangeData::GetFileContents(std::wstring* filename, 123 bool OSExchangeData::GetFileContents(std::wstring* filename,
124 std::string* file_contents) const { 124 std::string* file_contents) const {
125 return provider_->GetFileContents(filename, file_contents); 125 return provider_->GetFileContents(filename, file_contents);
126 } 126 }
127 127
128 bool OSExchangeData::GetHtml(std::wstring* html, GURL* base_url) const { 128 bool OSExchangeData::GetHtml(std::wstring* html, GURL* base_url) const {
129 return provider_->GetHtml(html, base_url); 129 return provider_->GetHtml(html, base_url);
130 } 130 }
131
132 void OSExchangeData::SetDownloadFileInfo(DownloadFileInfo* download) {
133 return provider_->SetDownloadFileInfo(download);
134 }
131 #endif 135 #endif
OLDNEW
« no previous file with comments | « app/os_exchange_data.h ('k') | app/os_exchange_data_provider_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698