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

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

Issue 10829277: GDataFileSystem is no longer a friend of GDataDirectory. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: NotifyAndRunFileMoveCallback needs to accept null callback 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_files.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_WAPI_FEED_PROCESSOR_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_GDATA_GDATA_WAPI_FEED_PROCESSOR_H_
6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_WAPI_FEED_PROCESSOR_H_ 6 #define CHROME_BROWSER_CHROMEOS_GDATA_GDATA_WAPI_FEED_PROCESSOR_H_
7 7
8 #include <map> 8 #include <map>
9 #include <set> 9 #include <set>
10 #include <string> 10 #include <string>
11 #include <vector> 11 #include <vector>
12 12
13 #include "base/file_path.h" 13 #include "base/file_path.h"
14 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h" 14 #include "chrome/browser/chromeos/gdata/gdata_errorcode.h"
15 #include "chrome/browser/chromeos/gdata/gdata_wapi_parser.h" 15 #include "chrome/browser/chromeos/gdata/gdata_wapi_parser.h"
16 16
17 namespace gdata { 17 namespace gdata {
18 18
19 class GDataDirectory; 19 class GDataDirectory;
20 class GDataDirectoryService; 20 class GDataDirectoryService;
21 class GDataEntry; 21 class GDataEntry;
22 22
23 typedef std::map<std::string /* resource_id */, GDataEntry*> 23 typedef std::map<std::string /* resource_id */, GDataEntry*>
24 FileResourceIdMap; 24 FileResourceIdMap;
25 25
26 // Struct used to record UMA stats with FeedToFileResourceMap(). 26 // Struct used to record UMA stats with FeedToFileResourceMap().
27 struct FeedToFileResourceMapUmaStats { 27 struct FeedToFileResourceMapUmaStats {
28 FeedToFileResourceMapUmaStats(); 28 FeedToFileResourceMapUmaStats();
29 ~FeedToFileResourceMapUmaStats(); 29 ~FeedToFileResourceMapUmaStats();
30 30
31 typedef std::map<DocumentEntry::EntryKind, int> EntryKindToCountMap; 31 typedef std::map<DocumentEntry::EntryKind, int> EntryKindToCountMap;
32 int num_regular_files; 32 int num_regular_files;
33 int num_hosted_documents; 33 int num_hosted_documents;
34 EntryKindToCountMap num_files_with_entry_kind; 34 EntryKindToCountMap num_files_with_entry_kind;
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 const FileResourceIdMap& file_map, 102 const FileResourceIdMap& file_map,
103 GDataDirectoryService* orphaned_dir_service); 103 GDataDirectoryService* orphaned_dir_service);
104 104
105 GDataDirectoryService* directory_service_; // Not owned by the class. 105 GDataDirectoryService* directory_service_; // Not owned by the class.
106 DISALLOW_COPY_AND_ASSIGN(GDataWapiFeedProcessor); 106 DISALLOW_COPY_AND_ASSIGN(GDataWapiFeedProcessor);
107 }; 107 };
108 108
109 } // namespace gdata 109 } // namespace gdata
110 110
111 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_WAPI_FEED_PROCESSOR_H_ 111 #endif // CHROME_BROWSER_CHROMEOS_GDATA_GDATA_WAPI_FEED_PROCESSOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/gdata/gdata_files.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698