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

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

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
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 #include "components/update_client/component.h" 5 #include "components/update_client/component.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/bind.h" 10 #include "base/bind.h"
11 #include "base/bind_helpers.h" 11 #include "base/bind_helpers.h"
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/location.h" 13 #include "base/location.h"
14 #include "base/logging.h" 14 #include "base/logging.h"
15 #include "base/memory/ptr_util.h" 15 #include "base/memory/ptr_util.h"
16 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
17 #include "base/threading/thread_task_runner_handle.h" 17 #include "base/threading/thread_task_runner_handle.h"
18 #include "components/update_client/component_unpacker.h"
18 #include "components/update_client/configurator.h" 19 #include "components/update_client/configurator.h"
19 #include "components/update_client/update_client.h" 20 #include "components/update_client/update_client.h"
20 #include "components/update_client/update_client_errors.h" 21 #include "components/update_client/update_client_errors.h"
21 #include "components/update_client/update_engine.h" 22 #include "components/update_client/update_engine.h"
22 #include "components/update_client/utils.h" 23 #include "components/update_client/utils.h"
23 24
24 // The state machine representing how a CRX component changes during an update. 25 // The state machine representing how a CRX component changes during an update.
25 // 26 //
26 // 27 //
27 // on-demand on-demand 28 // on-demand on-demand
(...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
693 Component::StateUninstalled::~StateUninstalled() { 694 Component::StateUninstalled::~StateUninstalled() {
694 DCHECK(thread_checker_.CalledOnValidThread()); 695 DCHECK(thread_checker_.CalledOnValidThread());
695 } 696 }
696 697
697 void Component::StateUninstalled::DoHandle() { 698 void Component::StateUninstalled::DoHandle() {
698 DCHECK(thread_checker_.CalledOnValidThread()); 699 DCHECK(thread_checker_.CalledOnValidThread());
699 TransitionState(nullptr); 700 TransitionState(nullptr);
700 } 701 }
701 702
702 } // namespace update_client 703 } // namespace update_client
OLDNEW
« no previous file with comments | « components/update_client/component.h ('k') | components/update_client/component_patcher_operation.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698