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

Unified Diff: chrome/browser/extensions/extension_settings_api.h

Issue 7977018: Enable sync for the settings from the Extension Settings API. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix race condition in ExtensionSettingsUIWrapper::Core Created 9 years, 3 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: chrome/browser/extensions/extension_settings_api.h
diff --git a/chrome/browser/extensions/extension_settings_api.h b/chrome/browser/extensions/extension_settings_api.h
index 1ca2180b41d90683b73ea47ba2861963d7af736a..2cc87a09babdeeb1ca2a7b29c1ea6ba36a18f3df 100644
--- a/chrome/browser/extensions/extension_settings_api.h
+++ b/chrome/browser/extensions/extension_settings_api.h
@@ -28,8 +28,9 @@ class SettingsFunction : public AsyncExtensionFunction {
bool UseResult(const ExtensionSettingsStorage::Result& storage_result);
private:
- // Component of RunImpl which runs on the FILE thread.
- void RunOnFileThread();
+ // Called via PostTask from RunImpl. Calls RunWithStorage and then
+ // SendReponse with its success value.
+ void RunWithSettingsOnFileThread(ExtensionSettings* settings);
};
class GetSettingsFunction : public SettingsFunction {
« no previous file with comments | « chrome/browser/extensions/extension_settings.cc ('k') | chrome/browser/extensions/extension_settings_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698