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

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

Issue 7775008: Enable sync for the settings from the Extension Settings API. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Sync to tip. Latest comments. 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 {

Powered by Google App Engine
This is Rietveld 408576698