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

Side by Side Diff: components/drive/file_change.h

Issue 1869063004: components: Add out-of-line copy ctors for complex classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 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 | « no previous file | components/drive/file_change.cc » ('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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef COMPONENTS_DRIVE_FILE_CHANGE_H_ 5 #ifndef COMPONENTS_DRIVE_FILE_CHANGE_H_
6 #define COMPONENTS_DRIVE_FILE_CHANGE_H_ 6 #define COMPONENTS_DRIVE_FILE_CHANGE_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <deque> 10 #include <deque>
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 std::string DebugString() const; 77 std::string DebugString() const;
78 78
79 private: 79 private:
80 List list_; 80 List list_;
81 }; 81 };
82 82
83 public: 83 public:
84 typedef std::map<base::FilePath, FileChange::ChangeList> Map; 84 typedef std::map<base::FilePath, FileChange::ChangeList> Map;
85 85
86 FileChange(); 86 FileChange();
87 FileChange(const FileChange& other);
87 ~FileChange(); 88 ~FileChange();
88 89
89 void Update(const base::FilePath file_path, 90 void Update(const base::FilePath file_path,
90 const FileChange::Change& new_change); 91 const FileChange::Change& new_change);
91 void Update(const base::FilePath file_path, 92 void Update(const base::FilePath file_path,
92 const FileChange::ChangeList& list); 93 const FileChange::ChangeList& list);
93 void Update(const base::FilePath file_path, 94 void Update(const base::FilePath file_path,
94 FileType type, 95 FileType type,
95 FileChange::ChangeType change); 96 FileChange::ChangeType change);
96 void Update(const base::FilePath file_path, 97 void Update(const base::FilePath file_path,
(...skipping 13 matching lines...) Expand all
110 111
111 std::string DebugString() const; 112 std::string DebugString() const;
112 113
113 private: 114 private:
114 Map map_; 115 Map map_;
115 }; 116 };
116 117
117 } // namespace drive 118 } // namespace drive
118 119
119 #endif // COMPONENTS_DRIVE_FILE_CHANGE_H_ 120 #endif // COMPONENTS_DRIVE_FILE_CHANGE_H_
OLDNEW
« no previous file with comments | « no previous file | components/drive/file_change.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698