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: trunk/src/chrome/browser/policy/cloud/component_cloud_policy_service.cc

Issue 14985007: Revert 198844 "Move sequenced_task_runner to base/task" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 7 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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/policy/cloud/component_cloud_policy_service.h" 5 #include "chrome/browser/policy/cloud/component_cloud_policy_service.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/message_loop_proxy.h" 11 #include "base/message_loop_proxy.h"
12 #include "base/pickle.h" 12 #include "base/pickle.h"
13 #include "base/sequenced_task_runner.h"
13 #include "base/stl_util.h" 14 #include "base/stl_util.h"
14 #include "base/task/sequenced_task_runner.h"
15 #include "chrome/browser/policy/cloud/component_cloud_policy_store.h" 15 #include "chrome/browser/policy/cloud/component_cloud_policy_store.h"
16 #include "chrome/browser/policy/cloud/component_cloud_policy_updater.h" 16 #include "chrome/browser/policy/cloud/component_cloud_policy_updater.h"
17 #include "chrome/browser/policy/cloud/resource_cache.h" 17 #include "chrome/browser/policy/cloud/resource_cache.h"
18 #include "chrome/browser/policy/proto/cloud/device_management_backend.pb.h" 18 #include "chrome/browser/policy/proto/cloud/device_management_backend.pb.h"
19 #include "content/public/browser/browser_thread.h" 19 #include "content/public/browser/browser_thread.h"
20 #include "net/url_request/url_request_context_getter.h" 20 #include "net/url_request/url_request_context_getter.h"
21 21
22 namespace em = enterprise_management; 22 namespace em = enterprise_management;
23 23
24 namespace policy { 24 namespace policy {
(...skipping 412 matching lines...) Expand 10 before | Expand all | Expand 10 after
437 PolicyDomain domain, 437 PolicyDomain domain,
438 const StringSet& set) { 438 const StringSet& set) {
439 std::string policy_type; 439 std::string policy_type;
440 if (ComponentCloudPolicyStore::GetPolicyType(domain, &policy_type)) { 440 if (ComponentCloudPolicyStore::GetPolicyType(domain, &policy_type)) {
441 for (StringSet::const_iterator it = set.begin(); it != set.end(); ++it) 441 for (StringSet::const_iterator it = set.begin(); it != set.end(); ++it)
442 client_->RemoveNamespaceToFetch(PolicyNamespaceKey(policy_type, *it)); 442 client_->RemoveNamespaceToFetch(PolicyNamespaceKey(policy_type, *it));
443 } 443 }
444 } 444 }
445 445
446 } // namespace policy 446 } // namespace policy
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698