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

Side by Side Diff: services/preferences/public/interfaces/preferences.mojom

Issue 2905903002: Delete the PreferenceMACs on profile deletion. (Closed)
Patch Set: Try loading unloaded profiles before calling OnStoreDeletionFromDisk Created 3 years, 6 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 module prefs.mojom; 5 module prefs.mojom;
6 6
7 import "mojo/common/file_path.mojom"; 7 import "mojo/common/file_path.mojom";
8 import "mojo/common/string16.mojom"; 8 import "mojo/common/string16.mojom";
9 import "mojo/common/values.mojom"; 9 import "mojo/common/values.mojom";
10 import "services/preferences/public/interfaces/tracked_preference_validation_del egate.mojom"; 10 import "services/preferences/public/interfaces/tracked_preference_validation_del egate.mojom";
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 142
143 // An interface providing mutation access to a PersistentPrefStore. 143 // An interface providing mutation access to a PersistentPrefStore.
144 interface PersistentPrefStore { 144 interface PersistentPrefStore {
145 // Sets the values for prefs. 145 // Sets the values for prefs.
146 SetValues(array<PrefUpdate> updates); 146 SetValues(array<PrefUpdate> updates);
147 147
148 // These mirror the C++ PersistentPrefStore methods. 148 // These mirror the C++ PersistentPrefStore methods.
149 CommitPendingWrite(); 149 CommitPendingWrite();
150 SchedulePendingLossyWrites(); 150 SchedulePendingLossyWrites();
151 ClearMutableValues(); 151 ClearMutableValues();
152 OnStoreDeletionFromDisk();
152 }; 153 };
153 154
154 // A registry of all prefs registered by a single client. 155 // A registry of all prefs registered by a single client.
155 struct PrefRegistry { 156 struct PrefRegistry {
156 array<string> registrations; 157 array<string> registrations;
157 }; 158 };
158 159
159 struct PrefRegistration { 160 struct PrefRegistration {
160 mojo.common.mojom.Value default_value; 161 mojo.common.mojom.Value default_value;
161 162
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 }; 226 };
226 227
227 interface ResetOnLoadObserver { 228 interface ResetOnLoadObserver {
228 OnResetOnLoad(); 229 OnResetOnLoad();
229 }; 230 };
230 231
231 struct IncognitoPersistentPrefStoreConfiguration { 232 struct IncognitoPersistentPrefStoreConfiguration {
232 // A connector for the underlying profile's prefs. 233 // A connector for the underlying profile's prefs.
233 PrefStoreConnector connector; 234 PrefStoreConnector connector;
234 }; 235 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698