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

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

Issue 2695823008: Add missing #include around sequenced_worker_pool.h in //chrome (Closed)
Patch Set: sync_websocket_impl & wizard_controller Created 3 years, 10 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) 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 <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/bind_helpers.h" 10 #include "base/bind_helpers.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/memory/weak_ptr.h" 15 #include "base/memory/weak_ptr.h"
16 #include "base/scoped_observer.h" 16 #include "base/scoped_observer.h"
17 #include "base/threading/sequenced_worker_pool.h"
17 #include "chrome/browser/extensions/api/storage/policy_value_store.h" 18 #include "chrome/browser/extensions/api/storage/policy_value_store.h"
18 #include "chrome/browser/policy/profile_policy_connector.h" 19 #include "chrome/browser/policy/profile_policy_connector.h"
19 #include "chrome/browser/policy/profile_policy_connector_factory.h" 20 #include "chrome/browser/policy/profile_policy_connector_factory.h"
20 #include "chrome/browser/policy/schema_registry_service.h" 21 #include "chrome/browser/policy/schema_registry_service.h"
21 #include "chrome/browser/policy/schema_registry_service_factory.h" 22 #include "chrome/browser/policy/schema_registry_service_factory.h"
22 #include "chrome/browser/profiles/profile.h" 23 #include "chrome/browser/profiles/profile.h"
23 #include "chrome/common/extensions/api/storage/storage_schema_manifest_handler.h " 24 #include "chrome/common/extensions/api/storage/storage_schema_manifest_handler.h "
24 #include "components/policy/core/common/schema.h" 25 #include "components/policy/core/common/schema.h"
25 #include "components/policy/core/common/schema_map.h" 26 #include "components/policy/core/common/schema_map.h"
26 #include "components/policy/core/common/schema_registry.h" 27 #include "components/policy/core/common/schema_registry.h"
(...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 return raw_store; 382 return raw_store;
382 } 383 }
383 384
384 bool ManagedValueStoreCache::HasStore(const std::string& extension_id) const { 385 bool ManagedValueStoreCache::HasStore(const std::string& extension_id) const {
385 // Note: Currently only manage extensions (not apps). 386 // Note: Currently only manage extensions (not apps).
386 return storage_factory_->HasSettings(settings_namespace::MANAGED, 387 return storage_factory_->HasSettings(settings_namespace::MANAGED,
387 kManagedModelType, extension_id); 388 kManagedModelType, extension_id);
388 } 389 }
389 390
390 } // namespace extensions 391 } // namespace extensions
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698