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

Side by Side Diff: components/update_client/action.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
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_ACTION_H_ 5 #ifndef COMPONENTS_UPDATE_CLIENT_ACTION_H_
6 #define COMPONENTS_UPDATE_CLIENT_ACTION_H_ 6 #define COMPONENTS_UPDATE_CLIENT_ACTION_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 9
10 #include <string> 10 #include <string>
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/threading/thread_checker.h" 14 #include "base/threading/thread_checker.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_client.h" 16 #include "components/update_client/update_client.h"
17 17
18 namespace update_client { 18 namespace update_client {
19 19
20 class Configurator;
21 enum class Error; 20 enum class Error;
22 struct CrxUpdateItem; 21 struct CrxUpdateItem;
23 struct UpdateContext; 22 struct UpdateContext;
24 23
25 // Any update can be broken down as a sequence of discrete steps, such as 24 // Any update can be broken down as a sequence of discrete steps, such as
26 // checking for updates, downloading patches, updating, and waiting between 25 // checking for updates, downloading patches, updating, and waiting between
27 // successive updates. An action is the smallest unit of work executed by 26 // successive updates. An action is the smallest unit of work executed by
28 // the update engine. 27 // the update engine.
29 // 28 //
30 // Defines an abstract interface for a unit of work, executed by the 29 // Defines an abstract interface for a unit of work, executed by the
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 UpdateContext* update_context_; // Not owned by this class. 78 UpdateContext* update_context_; // Not owned by this class.
80 Callback callback_; 79 Callback callback_;
81 80
82 private: 81 private:
83 DISALLOW_COPY_AND_ASSIGN(ActionImpl); 82 DISALLOW_COPY_AND_ASSIGN(ActionImpl);
84 }; 83 };
85 84
86 } // namespace update_client 85 } // namespace update_client
87 86
88 #endif // COMPONENTS_UPDATE_CLIENT_ACTION_H_ 87 #endif // COMPONENTS_UPDATE_CLIENT_ACTION_H_
OLDNEW
« no previous file with comments | « components/translate/core/browser/translate_ui_delegate.h ('k') | components/update_client/action_update.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698