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

Side by Side Diff: chrome/browser/extensions/api/storage/managed_value_store_cache.cc

Issue 23045003: Moved chrome/common/policy to components/policy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 4 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
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/policy/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/extensions/api/storage/managed_value_store_cache.h" 5 #include "chrome/browser/extensions/api/storage/managed_value_store_cache.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/callback.h" 9 #include "base/callback.h"
10 #include "base/file_util.h" 10 #include "base/file_util.h"
(...skipping 11 matching lines...) Expand all
22 #include "chrome/browser/policy/profile_policy_connector.h" 22 #include "chrome/browser/policy/profile_policy_connector.h"
23 #include "chrome/browser/policy/profile_policy_connector_factory.h" 23 #include "chrome/browser/policy/profile_policy_connector_factory.h"
24 #include "chrome/browser/profiles/profile.h" 24 #include "chrome/browser/profiles/profile.h"
25 #include "chrome/browser/value_store/value_store_change.h" 25 #include "chrome/browser/value_store/value_store_change.h"
26 #include "chrome/common/extensions/api/storage/storage_schema_manifest_handler.h " 26 #include "chrome/common/extensions/api/storage/storage_schema_manifest_handler.h "
27 #include "chrome/common/extensions/extension.h" 27 #include "chrome/common/extensions/extension.h"
28 #include "chrome/common/extensions/extension_manifest_constants.h" 28 #include "chrome/common/extensions/extension_manifest_constants.h"
29 #include "chrome/common/extensions/extension_set.h" 29 #include "chrome/common/extensions/extension_set.h"
30 #include "chrome/common/extensions/manifest.h" 30 #include "chrome/common/extensions/manifest.h"
31 #include "chrome/common/extensions/permissions/api_permission.h" 31 #include "chrome/common/extensions/permissions/api_permission.h"
32 #include "chrome/common/policy/policy_schema.h" 32 #include "components/policy/core/common/policy_schema.h"
33 #include "content/public/browser/browser_thread.h" 33 #include "content/public/browser/browser_thread.h"
34 #include "content/public/browser/notification_observer.h" 34 #include "content/public/browser/notification_observer.h"
35 #include "content/public/browser/notification_registrar.h" 35 #include "content/public/browser/notification_registrar.h"
36 #include "content/public/browser/notification_source.h" 36 #include "content/public/browser/notification_source.h"
37 37
38 using content::BrowserThread; 38 using content::BrowserThread;
39 39
40 namespace extensions { 40 namespace extensions {
41 41
42 namespace { 42 namespace {
(...skipping 359 matching lines...) Expand 10 before | Expand all | Expand 10 after
402 continuation.Run(); 402 continuation.Run();
403 } 403 }
404 404
405 policy::PolicyService* ManagedValueStoreCache::GetPolicyService() { 405 policy::PolicyService* ManagedValueStoreCache::GetPolicyService() {
406 policy::ProfilePolicyConnector* connector = 406 policy::ProfilePolicyConnector* connector =
407 policy::ProfilePolicyConnectorFactory::GetForProfile(profile_); 407 policy::ProfilePolicyConnectorFactory::GetForProfile(profile_);
408 return connector->policy_service(); 408 return connector->policy_service();
409 } 409 }
410 410
411 } // namespace extensions 411 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/DEPS ('k') | chrome/browser/policy/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698