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

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

Issue 386033002: Prune shared extendion module after extension updating. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix review issues Created 6 years, 5 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_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 <string> 9 #include <string>
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 void DidGetLocalChangeStatus(const SyncFileStatusCallback& callback, 130 void DidGetLocalChangeStatus(const SyncFileStatusCallback& callback,
131 SyncStatusCode status, 131 SyncStatusCode status,
132 bool has_pending_local_changes); 132 bool has_pending_local_changes);
133 133
134 void OnRemoteServiceStateUpdated(RemoteServiceState state, 134 void OnRemoteServiceStateUpdated(RemoteServiceState state,
135 const std::string& description); 135 const std::string& description);
136 136
137 // extensions::ExtensionRegistryObserver implementations. 137 // extensions::ExtensionRegistryObserver implementations.
138 virtual void OnExtensionInstalled( 138 virtual void OnExtensionInstalled(
139 content::BrowserContext* browser_context, 139 content::BrowserContext* browser_context,
140 const extensions::Extension* extension) OVERRIDE; 140 const extensions::Extension* extension,
141 bool is_update) OVERRIDE;
141 virtual void OnExtensionUnloaded( 142 virtual void OnExtensionUnloaded(
142 content::BrowserContext* browser_context, 143 content::BrowserContext* browser_context,
143 const extensions::Extension* extension, 144 const extensions::Extension* extension,
144 extensions::UnloadedExtensionInfo::Reason reason) OVERRIDE; 145 extensions::UnloadedExtensionInfo::Reason reason) OVERRIDE;
145 virtual void OnExtensionUninstalled( 146 virtual void OnExtensionUninstalled(
146 content::BrowserContext* browser_context, 147 content::BrowserContext* browser_context,
147 const extensions::Extension* extension) OVERRIDE; 148 const extensions::Extension* extension) OVERRIDE;
148 virtual void OnExtensionLoaded( 149 virtual void OnExtensionLoaded(
149 content::BrowserContext* browser_context, 150 content::BrowserContext* browser_context,
150 const extensions::Extension* extension) OVERRIDE; 151 const extensions::Extension* extension) OVERRIDE;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 192
192 TaskLogger task_logger_; 193 TaskLogger task_logger_;
193 ObserverList<SyncEventObserver> observers_; 194 ObserverList<SyncEventObserver> observers_;
194 195
195 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemService); 196 DISALLOW_COPY_AND_ASSIGN(SyncFileSystemService);
196 }; 197 };
197 198
198 } // namespace sync_file_system 199 } // namespace sync_file_system
199 200
200 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_ 201 #endif // CHROME_BROWSER_SYNC_FILE_SYSTEM_SYNC_FILE_SYSTEM_SERVICE_H_
OLDNEW
« no previous file with comments | « chrome/browser/sync/test/integration/extensions_helper.cc ('k') | chrome/browser/sync_file_system/sync_file_system_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698