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

Side by Side Diff: chrome/browser/chromeos/gdata/drive_files.h

Issue 10874028: Rename GDataFileSystem* to DriveFileSystem* (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase. Created 8 years, 3 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
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 CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILES_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILES_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILES_H_ 6 #define CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILES_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 // The resource id of the parent folder. This piece of information is needed 110 // The resource id of the parent folder. This piece of information is needed
111 // to pair files from change feeds with their directory parents withing the 111 // to pair files from change feeds with their directory parents withing the
112 // existing file system snapshot (DriveResourceMetadata::resource_map_). 112 // existing file system snapshot (DriveResourceMetadata::resource_map_).
113 const std::string& parent_resource_id() const { return parent_resource_id_; } 113 const std::string& parent_resource_id() const { return parent_resource_id_; }
114 114
115 // True if file was deleted. Used only for instances that are generated from 115 // True if file was deleted. Used only for instances that are generated from
116 // delta feeds. 116 // delta feeds.
117 bool is_deleted() const { return deleted_; } 117 bool is_deleted() const { return deleted_; }
118 118
119 // Returns virtual file path representing this file system entry. This path 119 // Returns virtual file path representing this file system entry. This path
120 // corresponds to file path expected by public methods of GDataFileSystem 120 // corresponds to file path expected by public methods of DriveFileSystem
121 // class. 121 // class.
122 FilePath GetFilePath() const; 122 FilePath GetFilePath() const;
123 123
124 // Sets |base_name_| based on the value of |title_| without name 124 // Sets |base_name_| based on the value of |title_| without name
125 // de-duplication (see AddEntry() for details on de-duplication). 125 // de-duplication (see AddEntry() for details on de-duplication).
126 virtual void SetBaseNameFromTitle(); 126 virtual void SetBaseNameFromTitle();
127 127
128 protected: 128 protected:
129 // For access to SetParent from AddEntry. 129 // For access to SetParent from AddEntry.
130 friend class DriveDirectory; 130 friend class DriveDirectory;
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 // Collection of children. 277 // Collection of children.
278 ChildMap child_files_; 278 ChildMap child_files_;
279 ChildMap child_directories_; 279 ChildMap child_directories_;
280 280
281 DISALLOW_COPY_AND_ASSIGN(DriveDirectory); 281 DISALLOW_COPY_AND_ASSIGN(DriveDirectory);
282 }; 282 };
283 283
284 } // namespace gdata 284 } // namespace gdata
285 285
286 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILES_H_ 286 #endif // CHROME_BROWSER_CHROMEOS_GDATA_DRIVE_FILES_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/drive_file_system_unittest.cc ('k') | chrome/browser/chromeos/gdata/drive_task_executor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698