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

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

Issue 2884763002: Automated IWYU fix for TaskRunner includes. (Closed)
Patch Set: rebase on r472096 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
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 // Component updates can be either differential updates or full updates. 5 // Component updates can be either differential updates or full updates.
6 // Full updates come in CRX format; differential updates come in CRX-style 6 // Full updates come in CRX format; differential updates come in CRX-style
7 // archives, but have a different magic number. They contain "commands.json", a 7 // archives, but have a different magic number. They contain "commands.json", a
8 // list of commands for the patcher to follow. The patcher uses these commands, 8 // list of commands for the patcher to follow. The patcher uses these commands,
9 // the other files in the archive, and the files from the existing installation 9 // the other files in the archive, and the files from the existing installation
10 // of the component to create the contents of a full update, which is then 10 // of the component to create the contents of a full update, which is then
(...skipping 14 matching lines...) Expand all
25 // the server so that a proper differential update can be provided next cycle. 25 // the server so that a proper differential update can be provided next cycle.
26 26
27 #ifndef COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_H_ 27 #ifndef COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_H_
28 #define COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_H_ 28 #define COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_H_
29 29
30 #include <memory> 30 #include <memory>
31 31
32 #include "base/callback_forward.h" 32 #include "base/callback_forward.h"
33 #include "base/macros.h" 33 #include "base/macros.h"
34 #include "base/memory/ref_counted.h" 34 #include "base/memory/ref_counted.h"
35 #include "base/sequenced_task_runner.h"
35 #include "base/values.h" 36 #include "base/values.h"
36 #include "components/update_client/component_unpacker.h" 37 #include "components/update_client/component_unpacker.h"
37 38
38 namespace base { 39 namespace base {
39 class FilePath; 40 class FilePath;
40 } 41 }
41 42
42 namespace update_client { 43 namespace update_client {
43 44
44 class CrxInstaller; 45 class CrxInstaller;
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 base::ListValue::const_iterator next_command_; 98 base::ListValue::const_iterator next_command_;
98 scoped_refptr<DeltaUpdateOp> current_operation_; 99 scoped_refptr<DeltaUpdateOp> current_operation_;
99 scoped_refptr<base::SequencedTaskRunner> task_runner_; 100 scoped_refptr<base::SequencedTaskRunner> task_runner_;
100 101
101 DISALLOW_COPY_AND_ASSIGN(ComponentPatcher); 102 DISALLOW_COPY_AND_ASSIGN(ComponentPatcher);
102 }; 103 };
103 104
104 } // namespace update_client 105 } // namespace update_client
105 106
106 #endif // COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_H_ 107 #endif // COMPONENTS_UPDATE_CLIENT_COMPONENT_PATCHER_H_
OLDNEW
« no previous file with comments | « components/ui_devtools/devtools_server.h ('k') | components/update_client/component_patcher_operation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698