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

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

Issue 2873513002: Fix dependencies on OutOfProcessPatcher. (Closed)
Patch Set: base namespace fix Created 3 years, 7 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/BUILD.gn ('k') | components/update_client/component.cc » ('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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_COMPONENT_H_ 5 #ifndef COMPONENTS_UPDATE_CLIENT_COMPONENT_H_
6 #define COMPONENTS_UPDATE_CLIENT_COMPONENT_H_ 6 #define COMPONENTS_UPDATE_CLIENT_COMPONENT_H_
7 7
8 #include <map> 8 #include <map>
9 #include <memory> 9 #include <memory>
10 #include <string> 10 #include <string>
11 #include <utility> 11 #include <utility>
12 #include <vector> 12 #include <vector>
13 13
14 #include "base/callback.h" 14 #include "base/callback.h"
15 #include "base/files/file_path.h" 15 #include "base/files/file_path.h"
16 #include "base/gtest_prod_util.h" 16 #include "base/gtest_prod_util.h"
17 #include "base/macros.h" 17 #include "base/macros.h"
18 #include "base/memory/ref_counted.h" 18 #include "base/memory/ref_counted.h"
19 #include "base/threading/thread_checker.h" 19 #include "base/threading/thread_checker.h"
20 #include "base/time/time.h" 20 #include "base/time/time.h"
21 #include "base/version.h" 21 #include "base/version.h"
22 #include "components/update_client/component_unpacker.h"
23 #include "components/update_client/crx_downloader.h" 22 #include "components/update_client/crx_downloader.h"
24 #include "components/update_client/update_client.h" 23 #include "components/update_client/update_client.h"
25 #include "components/update_client/update_response.h" 24 #include "components/update_client/update_response.h"
26 #include "url/gurl.h" 25 #include "url/gurl.h"
27 26
28 namespace base { 27 namespace base {
29 class SingleThreadTaskRunner; 28 class SingleThreadTaskRunner;
30 } 29 }
31 30
32 namespace update_client { 31 namespace update_client {
33 32
34 struct CrxUpdateItem; 33 struct CrxUpdateItem;
34 class ComponentUnpacker;
35 struct UpdateContext; 35 struct UpdateContext;
36 36
37 // Describes a CRX component managed by the UpdateEngine. Each |Component| is 37 // Describes a CRX component managed by the UpdateEngine. Each |Component| is
38 // associated with an UpdateContext. 38 // associated with an UpdateContext.
39 class Component { 39 class Component {
40 public: 40 public:
41 using Events = UpdateClient::Observer::Events; 41 using Events = UpdateClient::Observer::Events;
42 42
43 using CallbackHandleComplete = base::Callback<void()>; 43 using CallbackHandleComplete = base::Callback<void()>;
44 44
(...skipping 387 matching lines...) Expand 10 before | Expand all | Expand 10 after
432 base::Closure update_check_complete_; 432 base::Closure update_check_complete_;
433 433
434 DISALLOW_COPY_AND_ASSIGN(Component); 434 DISALLOW_COPY_AND_ASSIGN(Component);
435 }; 435 };
436 436
437 using IdToComponentPtrMap = std::map<std::string, std::unique_ptr<Component>>; 437 using IdToComponentPtrMap = std::map<std::string, std::unique_ptr<Component>>;
438 438
439 } // namespace update_client 439 } // namespace update_client
440 440
441 #endif // COMPONENTS_UPDATE_CLIENT_COMPONENT_H_ 441 #endif // COMPONENTS_UPDATE_CLIENT_COMPONENT_H_
OLDNEW
« no previous file with comments | « components/update_client/BUILD.gn ('k') | components/update_client/component.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698