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

Side by Side Diff: chrome/browser/extensions/updater/extension_updater.h

Issue 1497193002: Remove all the ephemeral apps code. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self review, Devlin review. Created 5 years 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_EXTENSIONS_UPDATER_EXTENSION_UPDATER_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_UPDATER_H_
6 #define CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_UPDATER_H_ 6 #define CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_UPDATER_H_
7 7
8 #include <list> 8 #include <list>
9 #include <map> 9 #include <map>
10 #include <set> 10 #include <set>
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 214
215 // content::NotificationObserver implementation. 215 // content::NotificationObserver implementation.
216 void Observe(int type, 216 void Observe(int type,
217 const content::NotificationSource& source, 217 const content::NotificationSource& source,
218 const content::NotificationDetails& details) override; 218 const content::NotificationDetails& details) override;
219 219
220 // Implementation of ExtensionRegistryObserver. 220 // Implementation of ExtensionRegistryObserver.
221 void OnExtensionWillBeInstalled(content::BrowserContext* browser_context, 221 void OnExtensionWillBeInstalled(content::BrowserContext* browser_context,
222 const Extension* extension, 222 const Extension* extension,
223 bool is_update, 223 bool is_update,
224 bool from_ephemeral,
225 const std::string& old_name) override; 224 const std::string& old_name) override;
226 225
227 // Send a notification that update checks are starting. 226 // Send a notification that update checks are starting.
228 void NotifyStarted(); 227 void NotifyStarted();
229 228
230 // Send a notification if we're finished updating. 229 // Send a notification if we're finished updating.
231 void NotifyIfFinished(int request_id); 230 void NotifyIfFinished(int request_id);
232 231
233 void ExtensionCheckFinished(const std::string& extension_id, 232 void ExtensionCheckFinished(const std::string& extension_id,
234 const FinishedCallback& callback); 233 const FinishedCallback& callback);
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
280 std::map<std::string, ThrottleInfo> throttle_info_; 279 std::map<std::string, ThrottleInfo> throttle_info_;
281 280
282 base::WeakPtrFactory<ExtensionUpdater> weak_ptr_factory_; 281 base::WeakPtrFactory<ExtensionUpdater> weak_ptr_factory_;
283 282
284 DISALLOW_COPY_AND_ASSIGN(ExtensionUpdater); 283 DISALLOW_COPY_AND_ASSIGN(ExtensionUpdater);
285 }; 284 };
286 285
287 } // namespace extensions 286 } // namespace extensions
288 287
289 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_UPDATER_H_ 288 #endif // CHROME_BROWSER_EXTENSIONS_UPDATER_EXTENSION_UPDATER_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/extension_util.cc ('k') | chrome/browser/extensions/updater/extension_updater.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698