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

Unified Diff: extensions/browser/api/storage/storage_api.cc

Issue 1226353004: Generate all extension schema namespaces as "api" and instead vary the generated bundle names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 5 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 side-by-side diff with in-line comments
Download patch
Index: extensions/browser/api/storage/storage_api.cc
diff --git a/extensions/browser/api/storage/storage_api.cc b/extensions/browser/api/storage/storage_api.cc
index da02e87979fc830e656a9f5952bf2dc53f5f8534..743eea636215c27d8128683a8d6d6aa434d13323 100644
--- a/extensions/browser/api/storage/storage_api.cc
+++ b/extensions/browser/api/storage/storage_api.cc
@@ -149,10 +149,10 @@ std::vector<std::string> GetKeys(const base::DictionaryValue& dict) {
void GetModificationQuotaLimitHeuristics(QuotaLimitHeuristics* heuristics) {
// See storage.json for the current value of these limits.
QuotaLimitHeuristic::Config short_limit_config = {
- core_api::storage::sync::MAX_WRITE_OPERATIONS_PER_MINUTE,
+ api::storage::sync::MAX_WRITE_OPERATIONS_PER_MINUTE,
base::TimeDelta::FromMinutes(1)};
QuotaLimitHeuristic::Config long_limit_config = {
- core_api::storage::sync::MAX_WRITE_OPERATIONS_PER_HOUR,
+ api::storage::sync::MAX_WRITE_OPERATIONS_PER_HOUR,
base::TimeDelta::FromHours(1)};
heuristics->push_back(new QuotaService::TimedLimit(
short_limit_config, new QuotaLimitHeuristic::SingletonBucketMapper(),
« no previous file with comments | « extensions/browser/api/storage/local_value_store_cache.cc ('k') | extensions/browser/api/storage/storage_frontend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698