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

Side by Side Diff: chrome/browser/sync_file_system/sync_file_system_service.h

Issue 2839373003: struct UnloadedExtensionInfo -> enum UnloadedExtensionInfoReason (Closed)
Patch Set: Enum class Created 3 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
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_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ 5 #ifndef CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_
6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ 6 #define CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 SyncStatusCode status, 130 SyncStatusCode status,
131 bool has_pending_local_changes); 131 bool has_pending_local_changes);
132 132
133 void OnRemoteServiceStateUpdated(RemoteServiceState state, 133 void OnRemoteServiceStateUpdated(RemoteServiceState state,
134 const std::string& description); 134 const std::string& description);
135 135
136 // extensions::ExtensionRegistryObserver implementations. 136 // extensions::ExtensionRegistryObserver implementations.
137 void OnExtensionInstalled(content::BrowserContext* browser_context, 137 void OnExtensionInstalled(content::BrowserContext* browser_context,
138 const extensions::Extension* extension, 138 const extensions::Extension* extension,
139 bool is_update) override; 139 bool is_update) override;
140 void OnExtensionUnloaded( 140 void OnExtensionUnloaded(content::BrowserContext* browser_context,
141 content::BrowserContext* browser_context, 141 const extensions::Extension* extension,
142 const extensions::Extension* extension, 142 extensions::UnloadedExtensionReason reason) override;
143 extensions::UnloadedExtensionInfo::Reason reason) override;
144 void OnExtensionUninstalled(content::BrowserContext* browser_context, 143 void OnExtensionUninstalled(content::BrowserContext* browser_context,
145 const extensions::Extension* extension, 144 const extensions::Extension* extension,
146 extensions::UninstallReason reason) override; 145 extensions::UninstallReason reason) override;
147 void OnExtensionLoaded(content::BrowserContext* browser_context, 146 void OnExtensionLoaded(content::BrowserContext* browser_context,
148 const extensions::Extension* extension) override; 147 const extensions::Extension* extension) override;
149 148
150 // syncer::SyncServiceObserver implementation. 149 // syncer::SyncServiceObserver implementation.
151 void OnStateChanged(syncer::SyncService* sync) override; 150 void OnStateChanged(syncer::SyncService* sync) override;
152 151
153 // SyncFileStatusObserver implementation. 152 // SyncFileStatusObserver implementation.
(...skipping 29 matching lines...) Expand all
183 182
184 bool promoting_demoted_changes_; 183 bool promoting_demoted_changes_;
185 base::Closure idle_callback_; 184 base::Closure idle_callback_;
186 185
187 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemService); 186 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemService);
188 }; 187 };
189 188
190 } // namespace sync_file_system 189 } // namespace sync_file_system
191 190
192 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ 191 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698