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

Unified Diff: chrome/browser/extensions/api/storage/settings_sync_unittest.cc

Issue 497123002: Raise the chrome.storage.sync per-item quota to 8K. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update test expectation Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | extensions/common/api/storage.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/storage/settings_sync_unittest.cc
diff --git a/chrome/browser/extensions/api/storage/settings_sync_unittest.cc b/chrome/browser/extensions/api/storage/settings_sync_unittest.cc
index fa80fb8c475100b65916be5c3a59ac72040c9b9c..fd8964164adf340aeeb98ac4f53aaed0e466203d 100644
--- a/chrome/browser/extensions/api/storage/settings_sync_unittest.cc
+++ b/chrome/browser/extensions/api/storage/settings_sync_unittest.cc
@@ -1340,11 +1340,11 @@ TEST_F(ExtensionSettingsSyncTest,
Manifest::Type type = Manifest::TYPE_LEGACY_PACKAGED_APP;
// This value should be larger than the limit in sync_storage_backend.cc.
- std::string string_5k;
- for (size_t i = 0; i < 5000; ++i) {
- string_5k.append("a");
+ std::string string_10k;
+ for (size_t i = 0; i < 10000; ++i) {
+ string_10k.append("a");
}
- base::StringValue large_value(string_5k);
+ base::StringValue large_value(string_10k);
GetSyncableService(model_type)->MergeDataAndStartSyncing(
model_type,
« no previous file with comments | « no previous file | extensions/common/api/storage.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698