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

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

Issue 2905903002: Delete the PreferenceMACs on profile deletion. (Closed)
Patch Set: Fix to get OSX-only ActiveProfileDeletedNextProfileDeletedToo test to pass Created 3 years, 5 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 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 // Requests that the pref service transmits its value for a pref (or sub-pref 156 // Requests that the pref service transmits its value for a pref (or sub-pref
157 // if |sub_pref_path| is non-empty). The value will be transmitted over the 157 // if |sub_pref_path| is non-empty). The value will be transmitted over the
158 // corresponding PrefStoreObserver interface previous returned by 158 // corresponding PrefStoreObserver interface previous returned by
159 // PrefStoreConnector.Connect(). 159 // PrefStoreConnector.Connect().
160 RequestValue(string key, array<string> sub_pref_path); 160 RequestValue(string key, array<string> sub_pref_path);
161 161
162 // These mirror the C++ PersistentPrefStore methods. 162 // These mirror the C++ PersistentPrefStore methods.
163 CommitPendingWrite() => (); 163 CommitPendingWrite() => ();
164 SchedulePendingLossyWrites(); 164 SchedulePendingLossyWrites();
165 ClearMutableValues(); 165 ClearMutableValues();
166 OnStoreDeletionFromDisk();
166 }; 167 };
167 168
168 // A registry of all prefs registered by a single client. 169 // A registry of all prefs registered by a single client.
169 struct PrefRegistry { 170 struct PrefRegistry {
170 // A list of pref keys that are private to this client. This client claims 171 // A list of pref keys that are private to this client. This client claims
171 // exclusive access to these prefs. 172 // exclusive access to these prefs.
172 array<string> private_registrations; 173 array<string> private_registrations;
173 174
174 // A list of pref keys that are public, but owned by another client. 175 // A list of pref keys that are public, but owned by another client.
175 array<string> foreign_registrations; 176 array<string> foreign_registrations;
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 }; 252 };
252 253
253 interface ResetOnLoadObserver { 254 interface ResetOnLoadObserver {
254 OnResetOnLoad(); 255 OnResetOnLoad();
255 }; 256 };
256 257
257 struct IncognitoPersistentPrefStoreConfiguration { 258 struct IncognitoPersistentPrefStoreConfiguration {
258 // A connector for the underlying profile's prefs. 259 // A connector for the underlying profile's prefs.
259 PrefStoreConnector connector; 260 PrefStoreConnector connector;
260 }; 261 };
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698