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

Side by Side Diff: chrome/browser/component_updater/component_updater_service_observer.h

Issue 18516010: Implemented completion pings for component updates. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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
(Empty)
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_OBSERVER_H_
6 #define CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_OBSERVER_H_
7
8 #include "base/basictypes.h"
9
10 struct CrxUpdateItem;
11
12 namespace component_updater {
13
14 // Provides an event sink for the ComponentUpdaterService.
15 class ComponentUpdaterServiceObserver {
16 public:
17 virtual ~ComponentUpdaterServiceObserver() {}
18
19 // The update has completed, with success or with an error. The |item| object
20 // contains the state of the update at the completion time.
21 virtual void OnUpdateComplete(const CrxUpdateItem* item) = 0;
22 };
23
24 } // namespace component_updater
25
26 #endif // CHROME_BROWSER_COMPONENT_UPDATER_COMPONENT_UPDATER_SERVICE_OBSERVER_H _
27
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698