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

Side by Side Diff: chrome/browser/chromeos/policy/user_policy_token_loader.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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/user_policy_token_loader.h" 5 #include "chrome/browser/chromeos/policy/user_policy_token_loader.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/files/file_util.h" 8 #include "base/files/file_util.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/metrics/histogram.h" 10 #include "base/metrics/histogram.h"
11 #include "base/sequenced_task_runner.h" 11 #include "base/sequenced_task_runner.h"
12 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
13 #include "base/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
14 #include "components/policy/core/common/cloud/enterprise_metrics.h" 14 #include "components/policy/core/common/cloud/enterprise_metrics.h"
15 #include "policy/proto/device_management_local.pb.h" 15 #include "policy/proto/device_management_local.pb.h"
16 16
17 namespace policy { 17 namespace policy {
18 18
19 namespace em = enterprise_management; 19 namespace em = enterprise_management;
20 20
21 UserPolicyTokenLoader::Delegate::~Delegate() {} 21 UserPolicyTokenLoader::Delegate::~Delegate() {}
22 22
23 UserPolicyTokenLoader::UserPolicyTokenLoader( 23 UserPolicyTokenLoader::UserPolicyTokenLoader(
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
71 } 71 }
72 72
73 void UserPolicyTokenLoader::NotifyOnOriginThread(const std::string& token, 73 void UserPolicyTokenLoader::NotifyOnOriginThread(const std::string& token,
74 const std::string& device_id) { 74 const std::string& device_id) {
75 DCHECK(origin_task_runner_->RunsTasksOnCurrentThread()); 75 DCHECK(origin_task_runner_->RunsTasksOnCurrentThread());
76 if (delegate_.get()) 76 if (delegate_.get())
77 delegate_->OnTokenLoaded(token, device_id); 77 delegate_->OnTokenLoaded(token, device_id);
78 } 78 }
79 79
80 } // namespace policy 80 } // namespace policy
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/policy/user_policy_disk_cache.cc ('k') | chrome/browser/chromeos/power/extension_event_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698