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

Side by Side Diff: chrome/browser/chromeos/drive/drive_system_service.h

Issue 12114012: Remove syncer::IncomingInvalidationSource (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove comment Created 7 years, 10 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_DRIVE_DRIVE_SYSTEM_SERVICE_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_SYSTEM_SERVICE_H_
6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_SYSTEM_SERVICE_H_ 6 #define CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_SYSTEM_SERVICE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
80 void ClearCacheAndRemountFileSystem( 80 void ClearCacheAndRemountFileSystem(
81 const base::Callback<void(bool)>& callback); 81 const base::Callback<void(bool)>& callback);
82 82
83 // Reloads and remounts the file system. 83 // Reloads and remounts the file system.
84 void ReloadAndRemountFileSystem(); 84 void ReloadAndRemountFileSystem();
85 85
86 // syncer::InvalidationHandler implementation. 86 // syncer::InvalidationHandler implementation.
87 virtual void OnInvalidatorStateChange( 87 virtual void OnInvalidatorStateChange(
88 syncer::InvalidatorState state) OVERRIDE; 88 syncer::InvalidatorState state) OVERRIDE;
89 virtual void OnIncomingInvalidation( 89 virtual void OnIncomingInvalidation(
90 const syncer::ObjectIdInvalidationMap& invalidation_map, 90 const syncer::ObjectIdInvalidationMap& invalidation_map) OVERRIDE;
91 syncer::IncomingInvalidationSource source) OVERRIDE;
92 91
93 private: 92 private:
94 // Used to destroy DriveCache with scoped_ptr_malloc_free. 93 // Used to destroy DriveCache with scoped_ptr_malloc_free.
95 struct ScopedPtrMallocDestroyCache { 94 struct ScopedPtrMallocDestroyCache {
96 public: 95 public:
97 void operator()(DriveCache* cache) const; 96 void operator()(DriveCache* cache) const;
98 }; 97 };
99 98
100 // Returns true if Drive is enabled. 99 // Returns true if Drive is enabled.
101 // Must be called on UI thread. 100 // Must be called on UI thread.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 // ProfileKeyedServiceFactory: 192 // ProfileKeyedServiceFactory:
194 virtual ProfileKeyedService* BuildServiceInstanceFor( 193 virtual ProfileKeyedService* BuildServiceInstanceFor(
195 Profile* profile) const OVERRIDE; 194 Profile* profile) const OVERRIDE;
196 195
197 FactoryCallback factory_for_test_; 196 FactoryCallback factory_for_test_;
198 }; 197 };
199 198
200 } // namespace drive 199 } // namespace drive
201 200
202 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_SYSTEM_SERVICE_H_ 201 #endif // CHROME_BROWSER_CHROMEOS_DRIVE_DRIVE_SYSTEM_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/chrome_to_mobile_service.cc ('k') | chrome/browser/chromeos/drive/drive_system_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698