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

Side by Side Diff: chrome/browser/chromeos/policy/cloud_external_data_manager_base.cc

Issue 1967773004: Fix include path for moved thread_task_runner_handle.h header in chrome/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393013 Created 4 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "chrome/browser/chromeos/policy/cloud_external_data_manager_base.h" 5 #include "chrome/browser/chromeos/policy/cloud_external_data_manager_base.h"
6 6
7 #include <stddef.h> 7 #include <stddef.h>
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <map> 10 #include <map>
11 #include <string> 11 #include <string>
12 #include <utility> 12 #include <utility>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/bind.h" 15 #include "base/bind.h"
16 #include "base/bind_helpers.h" 16 #include "base/bind_helpers.h"
17 #include "base/callback.h" 17 #include "base/callback.h"
18 #include "base/location.h" 18 #include "base/location.h"
19 #include "base/logging.h" 19 #include "base/logging.h"
20 #include "base/macros.h" 20 #include "base/macros.h"
21 #include "base/memory/ptr_util.h" 21 #include "base/memory/ptr_util.h"
22 #include "base/sequenced_task_runner.h" 22 #include "base/sequenced_task_runner.h"
23 #include "base/single_thread_task_runner.h" 23 #include "base/single_thread_task_runner.h"
24 #include "base/strings/string_number_conversions.h" 24 #include "base/strings/string_number_conversions.h"
25 #include "base/thread_task_runner_handle.h" 25 #include "base/threading/thread_task_runner_handle.h"
26 #include "base/values.h" 26 #include "base/values.h"
27 #include "chrome/browser/chromeos/policy/cloud_external_data_store.h" 27 #include "chrome/browser/chromeos/policy/cloud_external_data_store.h"
28 #include "components/policy/core/common/cloud/cloud_policy_store.h" 28 #include "components/policy/core/common/cloud/cloud_policy_store.h"
29 #include "components/policy/core/common/cloud/external_policy_data_fetcher.h" 29 #include "components/policy/core/common/cloud/external_policy_data_fetcher.h"
30 #include "components/policy/core/common/cloud/external_policy_data_updater.h" 30 #include "components/policy/core/common/cloud/external_policy_data_updater.h"
31 #include "components/policy/core/common/external_data_fetcher.h" 31 #include "components/policy/core/common/external_data_fetcher.h"
32 #include "components/policy/core/common/policy_map.h" 32 #include "components/policy/core/common/policy_map.h"
33 #include "net/url_request/url_request_context_getter.h" 33 #include "net/url_request/url_request_context_getter.h"
34 34
35 namespace policy { 35 namespace policy {
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 max_external_data_size_for_testing = max_size; 446 max_external_data_size_for_testing = max_size;
447 } 447 }
448 448
449 void CloudExternalDataManagerBase::FetchAll() { 449 void CloudExternalDataManagerBase::FetchAll() {
450 DCHECK(CalledOnValidThread()); 450 DCHECK(CalledOnValidThread());
451 backend_task_runner_->PostTask(FROM_HERE, base::Bind( 451 backend_task_runner_->PostTask(FROM_HERE, base::Bind(
452 &Backend::FetchAll, base::Unretained(backend_.get()))); 452 &Backend::FetchAll, base::Unretained(backend_.get())));
453 } 453 }
454 454
455 } // namespace policy 455 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698