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

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

Issue 10825120: gdata: Introduce GDataWapiFeedProcessor class (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comments Created 8 years, 4 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 | « chrome/browser/chromeos/gdata/gdata_file_system.cc ('k') | no next file » | 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 CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILES_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILES_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILES_H_ 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILES_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 10
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after
287 // Collection of children files/directories. 287 // Collection of children files/directories.
288 const GDataFileCollection& child_files() const { return child_files_; } 288 const GDataFileCollection& child_files() const { return child_files_; }
289 const GDataDirectoryCollection& child_directories() const { 289 const GDataDirectoryCollection& child_directories() const {
290 return child_directories_; 290 return child_directories_;
291 } 291 }
292 292
293 private: 293 private:
294 // TODO(satorux): Remove the friend statements. crbug.com/139649 294 // TODO(satorux): Remove the friend statements. crbug.com/139649
295 friend class GDataDirectoryService; 295 friend class GDataDirectoryService;
296 friend class GDataFileSystem; 296 friend class GDataFileSystem;
297 friend class GDataWapiFeedProcessor;
297 298
298 // Adds child file to the directory and takes over the ownership of |file| 299 // Adds child file to the directory and takes over the ownership of |file|
299 // object. The method will also do name de-duplication to ensure that the 300 // object. The method will also do name de-duplication to ensure that the
300 // exposed presentation path does not have naming conflicts. Two files with 301 // exposed presentation path does not have naming conflicts. Two files with
301 // the same name "Foo" will be renames to "Foo (1)" and "Foo (2)". 302 // the same name "Foo" will be renames to "Foo (1)" and "Foo (2)".
302 // TODO(satorux): Remove this. crbug.com/139649 303 // TODO(satorux): Remove this. crbug.com/139649
303 void AddEntry(GDataEntry* entry); 304 void AddEntry(GDataEntry* entry);
304 305
305 // Removes the entry from its children list and destroys the entry instance. 306 // Removes the entry from its children list and destroys the entry instance.
306 // TODO(satorux): Remove this. crbug.com/139649 307 // TODO(satorux): Remove this. crbug.com/139649
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
410 size_t serialized_size_; 411 size_t serialized_size_;
411 int largest_changestamp_; // Stored in the serialized proto. 412 int largest_changestamp_; // Stored in the serialized proto.
412 ContentOrigin origin_; 413 ContentOrigin origin_;
413 414
414 DISALLOW_COPY_AND_ASSIGN(GDataDirectoryService); 415 DISALLOW_COPY_AND_ASSIGN(GDataDirectoryService);
415 }; 416 };
416 417
417 } // namespace gdata 418 } // namespace gdata
418 419
419 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILES_H_ 420 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILES_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_file_system.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698