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

Unified Diff: base/files/file_path.h

Issue 2627713002: Move constructor for base::FilePath (Closed)
Patch Set: Created 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | base/files/file_path.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/files/file_path.h
diff --git a/base/files/file_path.h b/base/files/file_path.h
index 3234df7bfb69d0a41baa4c3cc1cfc1aeed56fc39..52887237c5756d82372cdfb1dcf6fb6e1419ea02 100644
--- a/base/files/file_path.h
+++ b/base/files/file_path.h
@@ -178,9 +178,11 @@ class BASE_EXPORT FilePath {
FilePath();
FilePath(const FilePath& that);
+ FilePath(FilePath&& that);
danakj 2017/01/11 16:08:36 Can you drop a comment that |that| is left in an v
dmurph 2017/01/11 20:07:55 Done.
explicit FilePath(StringPieceType path);
~FilePath();
FilePath& operator=(const FilePath& that);
+ FilePath& operator=(FilePath&& that);
danakj 2017/01/11 16:08:36 same
dmurph 2017/01/11 20:07:55 Done.
bool operator==(const FilePath& that) const;
« no previous file with comments | « no previous file | base/files/file_path.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698