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

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

Issue 10827108: gdata: Remove 'origin' parameter from GDataFileSystem::UpdateFromFeed() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.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 CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
(...skipping 503 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 // Removes a file or directory under |file_path| from in-memory snapshot of 514 // Removes a file or directory under |file_path| from in-memory snapshot of
515 // the file system and the corresponding file from cache if it exists. 515 // the file system and the corresponding file from cache if it exists.
516 // Return PLATFORM_FILE_OK if successful. 516 // Return PLATFORM_FILE_OK if successful.
517 GDataFileError RemoveEntryFromFileSystem(const FilePath& file_path); 517 GDataFileError RemoveEntryFromFileSystem(const FilePath& file_path);
518 518
519 // Updates whole directory structure feeds collected in |feed_list|. 519 // Updates whole directory structure feeds collected in |feed_list|.
520 // On success, returns PLATFORM_FILE_OK. Record file statistics as UMA 520 // On success, returns PLATFORM_FILE_OK. Record file statistics as UMA
521 // histograms. 521 // histograms.
522 GDataFileError UpdateFromFeed( 522 GDataFileError UpdateFromFeed(
523 const std::vector<DocumentFeed*>& feed_list, 523 const std::vector<DocumentFeed*>& feed_list,
524 ContentOrigin origin,
525 int largest_changestamp, 524 int largest_changestamp,
526 int root_feed_changestamp); 525 int root_feed_changestamp);
527 526
528 // Updates UMA histograms about file counts. 527 // Updates UMA histograms about file counts.
529 void UpdateFileCountUmaHistograms( 528 void UpdateFileCountUmaHistograms(
530 const FeedToFileResourceMapUmaStats& uma_stats) const; 529 const FeedToFileResourceMapUmaStats& uma_stats) const;
531 530
532 // Applies the pre-processed feed from |file_map| map onto the file system. 531 // Applies the pre-processed feed from |file_map| map onto the file system.
533 // All entries in |file_map| will be erased (i.e. the map becomes empty), 532 // All entries in |file_map| will be erased (i.e. the map becomes empty),
534 // and values are deleted. 533 // and values are deleted.
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
936 base::WeakPtr<GDataFileSystem> ui_weak_ptr_; 935 base::WeakPtr<GDataFileSystem> ui_weak_ptr_;
937 936
938 ObserverList<Observer> observers_; 937 ObserverList<Observer> observers_;
939 938
940 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_; 939 scoped_refptr<base::SequencedTaskRunner> blocking_task_runner_;
941 }; 940 };
942 941
943 } // namespace gdata 942 } // namespace gdata
944 943
945 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_ 944 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_FILE_SYSTEM_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/gdata/gdata_file_system.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698