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

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

Issue 2266533002: Consistently use namespaced base::Version in components/update_client. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_UPDATE_CLIENT_INTERNAL_H_ 5 #ifndef COMPONENTS_UPDATE_CLIENT_UPDATE_CLIENT_INTERNAL_H_
6 #define COMPONENTS_UPDATE_CLIENT_UPDATE_CLIENT_INTERNAL_H_ 6 #define COMPONENTS_UPDATE_CLIENT_UPDATE_CLIENT_INTERNAL_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <queue> 9 #include <queue>
10 #include <set> 10 #include <set>
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 const CrxDataCallback& crx_data_callback, 46 const CrxDataCallback& crx_data_callback,
47 const CompletionCallback& completion_callback) override; 47 const CompletionCallback& completion_callback) override;
48 void Update(const std::vector<std::string>& ids, 48 void Update(const std::vector<std::string>& ids,
49 const CrxDataCallback& crx_data_callback, 49 const CrxDataCallback& crx_data_callback,
50 const CompletionCallback& completion_callback) override; 50 const CompletionCallback& completion_callback) override;
51 bool GetCrxUpdateState(const std::string& id, 51 bool GetCrxUpdateState(const std::string& id,
52 CrxUpdateItem* update_item) const override; 52 CrxUpdateItem* update_item) const override;
53 bool IsUpdating(const std::string& id) const override; 53 bool IsUpdating(const std::string& id) const override;
54 void Stop() override; 54 void Stop() override;
55 void SendUninstallPing(const std::string& id, 55 void SendUninstallPing(const std::string& id,
56 const Version& version, 56 const base::Version& version,
57 int reason) override; 57 int reason) override;
58 58
59 private: 59 private:
60 ~UpdateClientImpl() override; 60 ~UpdateClientImpl() override;
61 61
62 void RunTask(std::unique_ptr<Task> task); 62 void RunTask(std::unique_ptr<Task> task);
63 void OnTaskComplete(const CompletionCallback& completion_callback, 63 void OnTaskComplete(const CompletionCallback& completion_callback,
64 Task* task, 64 Task* task,
65 int error); 65 int error);
66 66
(...skipping 24 matching lines...) Expand all
91 std::unique_ptr<UpdateEngine> update_engine_; 91 std::unique_ptr<UpdateEngine> update_engine_;
92 92
93 base::ObserverList<Observer> observer_list_; 93 base::ObserverList<Observer> observer_list_;
94 94
95 DISALLOW_COPY_AND_ASSIGN(UpdateClientImpl); 95 DISALLOW_COPY_AND_ASSIGN(UpdateClientImpl);
96 }; 96 };
97 97
98 } // namespace update_client 98 } // namespace update_client
99 99
100 #endif // COMPONENTS_UPDATE_CLIENT_UPDATE_CLIENT_INTERNAL_H_ 100 #endif // COMPONENTS_UPDATE_CLIENT_UPDATE_CLIENT_INTERNAL_H_
OLDNEW
« no previous file with comments | « components/update_client/update_client.cc ('k') | components/update_client/update_client_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698