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

Side by Side Diff: components/update_client/crx_update_item.h

Issue 1578083002: Implements an UpdateClient::SendUninstallPing API for the (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « components/update_client/action.cc ('k') | components/update_client/ping_manager.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_UPDATE_CLIENT_CRX_UPDATE_ITEM_H_ 5 #ifndef COMPONENTS_UPDATE_CLIENT_CRX_UPDATE_ITEM_H_
6 #define COMPONENTS_UPDATE_CLIENT_CRX_UPDATE_ITEM_H_ 6 #define COMPONENTS_UPDATE_CLIENT_CRX_UPDATE_ITEM_H_
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 kChecking, 61 kChecking,
62 kCanUpdate, 62 kCanUpdate,
63 kDownloadingDiff, 63 kDownloadingDiff,
64 kDownloading, 64 kDownloading,
65 kDownloaded, 65 kDownloaded,
66 kUpdatingDiff, 66 kUpdatingDiff,
67 kUpdating, 67 kUpdating,
68 kUpdated, 68 kUpdated,
69 kUpToDate, 69 kUpToDate,
70 kNoUpdate, 70 kNoUpdate,
71 kUninstalled,
71 kLastStatus 72 kLastStatus
72 }; 73 };
73 74
74 // Call CrxUpdateService::ChangeItemState to change |status|. The function may 75 // Call CrxUpdateService::ChangeItemState to change |status|. The function may
75 // enforce conditions or notify observers of the change. 76 // enforce conditions or notify observers of the change.
76 State state; 77 State state;
77 78
78 std::string id; 79 std::string id;
79 CrxComponent component; 80 CrxComponent component;
80 81
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
122 bool operator()(CrxUpdateItem* item) const { return item->id == id_; } 123 bool operator()(CrxUpdateItem* item) const { return item->id == id_; }
123 124
124 private: 125 private:
125 const std::string& id_; 126 const std::string& id_;
126 }; 127 };
127 }; 128 };
128 129
129 } // namespace update_client 130 } // namespace update_client
130 131
131 #endif // COMPONENTS_UPDATE_CLIENT_CRX_UPDATE_ITEM_H_ 132 #endif // COMPONENTS_UPDATE_CLIENT_CRX_UPDATE_ITEM_H_
OLDNEW
« no previous file with comments | « components/update_client/action.cc ('k') | components/update_client/ping_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698