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

Unified Diff: chrome/browser/sync/glue/preference_change_processor.h

Issue 2182001: Create and remove sync nodes whenever preferences flip their managed flag (Closed)
Patch Set: rebase, fix up std::string/std::wstring artefacts. Created 10 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 | chrome/browser/sync/glue/preference_change_processor.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/glue/preference_change_processor.h
diff --git a/chrome/browser/sync/glue/preference_change_processor.h b/chrome/browser/sync/glue/preference_change_processor.h
index ae02708152438aee85ed5fbd8fe48ca439dfbe0e..93c4f6a056c1ea3238999afa9d94e2e59b3a1826 100644
--- a/chrome/browser/sync/glue/preference_change_processor.h
+++ b/chrome/browser/sync/glue/preference_change_processor.h
@@ -58,6 +58,9 @@ class PreferenceChangeProcessor : public ChangeProcessor,
// The two models should be associated according to this ModelAssociator.
PreferenceModelAssociator* model_associator_;
+ // Whether we are currently processing a preference change notification.
+ bool processing_pref_change_;
+
DISALLOW_COPY_AND_ASSIGN(PreferenceChangeProcessor);
};
« no previous file with comments | « no previous file | chrome/browser/sync/glue/preference_change_processor.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698