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

Issue 8670012: Extension Settings API: move the API functions into an object SettingsNamepace, (Closed)

Created:
9 years, 1 month ago by not at google - send to devlin
Modified:
9 years, 1 month ago
Reviewers:
Matt Perry
CC:
chromium-reviews, Erik does not do reviews, Paweł Hajdan Jr., mihaip+watch_chromium.org, Aaron Boodman, darin-cc_chromium.org, brettw-cc_chromium.org
Visibility:
Public.

Description

Extension Settings API: move the API functions into an object SettingsNamepace, and separate the API into a "sync" and a "local" namespace. Make calls into the "local" namespace not synced. BUG=103863 TEST=*ExtensionSetting* (browser_tests, unit_tests) Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=111494

Patch Set 1 #

Total comments: 23

Patch Set 2 : comments #

Patch Set 3 : fix bug / sync #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1516 lines, -864 lines) Patch
M chrome/browser/extensions/extension_service.h View 1 chunk +12 lines, -4 lines 0 comments Download
M chrome/browser/extensions/extension_service.cc View 1 chunk +9 lines, -3 lines 0 comments Download
M chrome/browser/extensions/settings/settings_api.h View 6 chunks +20 lines, -23 lines 0 comments Download
M chrome/browser/extensions/settings/settings_api.cc View 1 8 chunks +32 lines, -29 lines 0 comments Download
M chrome/browser/extensions/settings/settings_apitest.cc View 1 10 chunks +145 lines, -25 lines 0 comments Download
M chrome/browser/extensions/settings/settings_backend.h View 2 chunks +4 lines, -5 lines 0 comments Download
M chrome/browser/extensions/settings/settings_backend.cc View 2 chunks +2 lines, -3 lines 0 comments Download
M chrome/browser/extensions/settings/settings_frontend.h View 1 5 chunks +21 lines, -26 lines 0 comments Download
M chrome/browser/extensions/settings/settings_frontend.cc View 1 4 chunks +144 lines, -132 lines 0 comments Download
M chrome/browser/extensions/settings/settings_frontend_unittest.cc View 3 chunks +10 lines, -9 lines 0 comments Download
M chrome/browser/extensions/settings/settings_leveldb_storage.h View 1 chunk +4 lines, -6 lines 0 comments Download
M chrome/browser/extensions/settings/settings_leveldb_storage_unittest.cc View 2 chunks +3 lines, -1 line 0 comments Download
A chrome/browser/extensions/settings/settings_namespace.h View 1 1 chunk +34 lines, -0 lines 0 comments Download
A chrome/browser/extensions/settings/settings_namespace.cc View 1 1 chunk +38 lines, -0 lines 0 comments Download
M chrome/browser/extensions/settings/settings_observer.h View 2 chunks +3 lines, -2 lines 0 comments Download
D chrome/browser/extensions/settings/settings_observer.cc View 1 chunk +0 lines, -11 lines 0 comments Download
M chrome/browser/extensions/settings/settings_storage_factory.h View 1 chunk +15 lines, -6 lines 0 comments Download
M chrome/browser/extensions/settings/settings_sync_unittest.cc View 19 chunks +75 lines, -73 lines 0 comments Download
M chrome/browser/extensions/settings/settings_test_util.h View 2 chunks +10 lines, -4 lines 0 comments Download
M chrome/browser/extensions/settings/settings_test_util.cc View 3 chunks +10 lines, -6 lines 0 comments Download
M chrome/browser/extensions/settings/syncable_settings_storage.cc View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M chrome/chrome_browser.gypi View 1 2 1 chunk +2 lines, -1 line 0 comments Download
M chrome/common/extensions/api/extension_api.json View 1 2 chunks +98 lines, -77 lines 0 comments Download
M chrome/common/extensions/docs/experimental.settings.html View 44 chunks +685 lines, -309 lines 0 comments Download
M chrome/common/extensions/docs/samples.json View 1 2 1 chunk +0 lines, -4 lines 0 comments Download
M chrome/renderer/resources/extensions/schema_generated_bindings.js View 1 3 chunks +28 lines, -3 lines 0 comments Download
M chrome/test/data/extensions/api_test/content_scripts/extension_api/fire_event.html View 1 2 1 chunk +1 line, -1 line 0 comments Download
M chrome/test/data/extensions/api_test/settings/simple_test/background.html View 1 4 chunks +84 lines, -78 lines 0 comments Download
M chrome/test/data/extensions/api_test/settings/split_incognito/background.html View 3 chunks +25 lines, -23 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
not at google - send to devlin
Ok, last big change*, I promise. Except for the one which renames settings to whatever ...
9 years, 1 month ago (2011-11-23 02:24:43 UTC) #1
Matt Perry
I mostly have stylistic suggestions. LGTM) (I'll be OOO nov 23-25 so I won't be ...
9 years, 1 month ago (2011-11-23 03:35:04 UTC) #2
not at google - send to devlin
Thanks Matt. http://codereview.chromium.org/8670012/diff/1/chrome/browser/extensions/settings/settings_frontend.cc File chrome/browser/extensions/settings/settings_frontend.cc (right): http://codereview.chromium.org/8670012/diff/1/chrome/browser/extensions/settings/settings_frontend.cc#newcode157 chrome/browser/extensions/settings/settings_frontend.cc:157: SettingsBackend* backend_; On 2011/11/23 03:35:05, Matt Perry ...
9 years, 1 month ago (2011-11-23 11:04:52 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/8670012/7001
9 years, 1 month ago (2011-11-23 21:14:23 UTC) #4
commit-bot: I haz the power
Try job failure for 8670012-7001 (retry) on mac_rel for step "browser_tests". It's a second try, ...
9 years, 1 month ago (2011-11-23 23:00:02 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/8670012/8031
9 years, 1 month ago (2011-11-23 23:22:08 UTC) #6
commit-bot: I haz the power
Try job failure for 8670012-8031 (retry) on win_rel for step "browser_tests". It's a second try, ...
9 years, 1 month ago (2011-11-24 01:15:37 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/kalman@chromium.org/8670012/8031
9 years, 1 month ago (2011-11-24 02:24:20 UTC) #8
commit-bot: I haz the power
9 years, 1 month ago (2011-11-24 04:17:26 UTC) #9
Change committed as 111494

Powered by Google App Engine
This is Rietveld 408576698