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

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

Issue 10332267: Revert 138055 - gdata: Add requestDirectoryRefresh to file_browser_private. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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_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 #pragma once 7 #pragma once
8 8
9 #include <map> 9 #include <map>
10 #include <string> 10 #include <string>
(...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after
329 329
330 // Takes over all entries from |dir|. 330 // Takes over all entries from |dir|.
331 bool TakeOverEntries(GDataDirectory* dir); 331 bool TakeOverEntries(GDataDirectory* dir);
332 332
333 // Find a child by its name. 333 // Find a child by its name.
334 GDataEntry* FindChild(const FilePath::StringType& file_name) const; 334 GDataEntry* FindChild(const FilePath::StringType& file_name) const;
335 335
336 // Removes the entry from its children list and destroys the entry instance. 336 // Removes the entry from its children list and destroys the entry instance.
337 bool RemoveEntry(GDataEntry* entry); 337 bool RemoveEntry(GDataEntry* entry);
338 338
339 // Removes child elements. 339 // Removes children elements.
340 void RemoveChildren(); 340 void RemoveChildren();
341 void RemoveChildFiles();
342 void RemoveChildDirectories();
343 341
344 // Last refresh time. 342 // Last refresh time.
345 const base::Time& refresh_time() const { return refresh_time_; } 343 const base::Time& refresh_time() const { return refresh_time_; }
346 void set_refresh_time(const base::Time& time) { refresh_time_ = time; } 344 void set_refresh_time(const base::Time& time) { refresh_time_ = time; }
347 // Url for this feed. 345 // Url for this feed.
348 const GURL& start_feed_url() const { return start_feed_url_; } 346 const GURL& start_feed_url() const { return start_feed_url_; }
349 void set_start_feed_url(const GURL& url) { start_feed_url_ = url; } 347 void set_start_feed_url(const GURL& url) { start_feed_url_ = url; }
350 // Continuing feed's url. 348 // Continuing feed's url.
351 const GURL& next_feed_url() const { return next_feed_url_; } 349 const GURL& next_feed_url() const { return next_feed_url_; }
352 void set_next_feed_url(const GURL& url) { next_feed_url_ = url; } 350 void set_next_feed_url(const GURL& url) { next_feed_url_ = url; }
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
547 base::Time last_serialized_; 545 base::Time last_serialized_;
548 int largest_changestamp_; 546 int largest_changestamp_;
549 size_t serialized_size_; 547 size_t serialized_size_;
550 548
551 DISALLOW_COPY_AND_ASSIGN(GDataRootDirectory); 549 DISALLOW_COPY_AND_ASSIGN(GDataRootDirectory);
552 }; 550 };
553 551
554 } // namespace gdata 552 } // namespace gdata
555 553
556 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILES_H_ 554 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILES_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_file_system_unittest.cc ('k') | chrome/browser/chromeos/gdata/gdata_files.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698