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

Side by Side Diff: ui/base/dragdrop/os_exchange_data.cc

Issue 6200005: Move OSExchangeData from src/app to src/ui/base/dragdrop... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 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 | « ui/base/dragdrop/os_exchange_data.h ('k') | ui/base/dragdrop/os_exchange_data_provider_gtk.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) 2011 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 "ui/base/dragdrop/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 namespace ui {
11
10 OSExchangeData::DownloadFileInfo::DownloadFileInfo( 12 OSExchangeData::DownloadFileInfo::DownloadFileInfo(
11 const FilePath& filename, 13 const FilePath& filename,
12 DownloadFileProvider* downloader) 14 DownloadFileProvider* downloader)
13 : filename(filename), 15 : filename(filename),
14 downloader(downloader) { 16 downloader(downloader) {
15 } 17 }
16 18
17 OSExchangeData::DownloadFileInfo::~DownloadFileInfo() {} 19 OSExchangeData::DownloadFileInfo::~DownloadFileInfo() {}
18 20
19 OSExchangeData::OSExchangeData() : provider_(CreateProvider()) { 21 OSExchangeData::OSExchangeData() : provider_(CreateProvider()) {
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 } 137 }
136 138
137 bool OSExchangeData::GetHtml(std::wstring* html, GURL* base_url) const { 139 bool OSExchangeData::GetHtml(std::wstring* html, GURL* base_url) const {
138 return provider_->GetHtml(html, base_url); 140 return provider_->GetHtml(html, base_url);
139 } 141 }
140 142
141 void OSExchangeData::SetDownloadFileInfo(const DownloadFileInfo& download) { 143 void OSExchangeData::SetDownloadFileInfo(const DownloadFileInfo& download) {
142 return provider_->SetDownloadFileInfo(download); 144 return provider_->SetDownloadFileInfo(download);
143 } 145 }
144 #endif 146 #endif
147
148 } // namespace ui
OLDNEW
« no previous file with comments | « ui/base/dragdrop/os_exchange_data.h ('k') | ui/base/dragdrop/os_exchange_data_provider_gtk.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698