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

Unified Diff: ui/base/dragdrop/os_exchange_data_provider_win.h

Issue 211383007: Use FilePaths in content::DropData to avoid redundant conversions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: clang-format Created 6 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: ui/base/dragdrop/os_exchange_data_provider_win.h
diff --git a/ui/base/dragdrop/os_exchange_data_provider_win.h b/ui/base/dragdrop/os_exchange_data_provider_win.h
index 969fb3ae39aabfacf6f11bd86068924550e8f6ff..ffe37e78909f31f6106d340947a9f5ebf8d29033 100644
--- a/ui/base/dragdrop/os_exchange_data_provider_win.h
+++ b/ui/base/dragdrop/os_exchange_data_provider_win.h
@@ -154,8 +154,7 @@ class UI_BASE_EXPORT OSExchangeDataProviderWin
virtual void SetString(const base::string16& data);
virtual void SetURL(const GURL& url, const base::string16& title);
virtual void SetFilename(const base::FilePath& path);
- virtual void SetFilenames(
- const std::vector<OSExchangeData::FileInfo>& filenames);
+ virtual void SetFilenames(const std::vector<FileInfo>& filenames);
virtual void SetPickledData(const OSExchangeData::CustomFormat& format,
const Pickle& data);
virtual void SetFileContents(const base::FilePath& filename,
@@ -167,8 +166,7 @@ class UI_BASE_EXPORT OSExchangeDataProviderWin
GURL* url,
base::string16* title) const;
virtual bool GetFilename(base::FilePath* path) const;
- virtual bool GetFilenames(
- std::vector<OSExchangeData::FileInfo>* filenames) const;
+ virtual bool GetFilenames(std::vector<FileInfo>* filenames) const;
virtual bool GetPickledData(const OSExchangeData::CustomFormat& format,
Pickle* data) const;
virtual bool GetFileContents(base::FilePath* filename,

Powered by Google App Engine
This is Rietveld 408576698