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

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

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 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
« no previous file with comments | « components/update_client/test_configurator.h ('k') | components/update_client/update_client.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_UPDATE_CHECKER_H_ 5 #ifndef COMPONENTS_UPDATE_CLIENT_UPDATE_CHECKER_H_
6 #define COMPONENTS_UPDATE_CLIENT_UPDATE_CHECKER_H_ 6 #define COMPONENTS_UPDATE_CLIENT_UPDATE_CHECKER_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/callback.h" 12 #include "base/callback.h"
13 #include "base/macros.h" 13 #include "base/macros.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "components/update_client/crx_update_item.h" 15 #include "components/update_client/crx_update_item.h"
16 #include "components/update_client/update_response.h" 16 #include "components/update_client/update_response.h"
17 #include "url/gurl.h" 17 #include "url/gurl.h"
18 18
19 class GURL;
20
21 namespace update_client { 19 namespace update_client {
22 20
23 class PersistedData; 21 class PersistedData;
24 class Configurator; 22 class Configurator;
25 23
26 class UpdateChecker { 24 class UpdateChecker {
27 public: 25 public:
28 using UpdateCheckCallback = 26 using UpdateCheckCallback =
29 base::Callback<void(int error, 27 base::Callback<void(int error,
30 const UpdateResponse::Results& results, 28 const UpdateResponse::Results& results,
(...skipping 21 matching lines...) Expand all
52 protected: 50 protected:
53 UpdateChecker() {} 51 UpdateChecker() {}
54 52
55 private: 53 private:
56 DISALLOW_COPY_AND_ASSIGN(UpdateChecker); 54 DISALLOW_COPY_AND_ASSIGN(UpdateChecker);
57 }; 55 };
58 56
59 } // namespace update_client 57 } // namespace update_client
60 58
61 #endif // COMPONENTS_UPDATE_CLIENT_UPDATE_CHECKER_H_ 59 #endif // COMPONENTS_UPDATE_CLIENT_UPDATE_CHECKER_H_
OLDNEW
« no previous file with comments | « components/update_client/test_configurator.h ('k') | components/update_client/update_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698