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

Unified Diff: services/preferences/public/interfaces/preferences_configuration.mojom

Issue 2856083002: Pref service: support for incognito prefs (Closed)
Patch Set: Rebase Created 3 years, 7 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: services/preferences/public/interfaces/preferences_configuration.mojom
diff --git a/services/preferences/public/interfaces/preferences_configuration.mojom b/services/preferences/public/interfaces/preferences_configuration.mojom
deleted file mode 100644
index 76f7785ae06a260085906affae6da2a8f2462a5b..0000000000000000000000000000000000000000
--- a/services/preferences/public/interfaces/preferences_configuration.mojom
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright 2017 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-module prefs.mojom;
-
-import "mojo/common/file_path.mojom";
-import "mojo/common/string16.mojom";
-import "services/preferences/public/interfaces/tracked_preference_validation_delegate.mojom";
-
-union PersistentPrefStoreConfiguration {
- SimplePersistentPrefStoreConfiguration simple_configuration;
- TrackedPersistentPrefStoreConfiguration tracked_configuration;
-};
-
-struct SimplePersistentPrefStoreConfiguration {
- mojo.common.mojom.FilePath pref_filename;
-};
-
-// These parameters are passed to prefs::CreateTrackedPersistentPrefStore() in
-// services/preferences/persistent_pref_store_factory.cc.
-struct TrackedPersistentPrefStoreConfiguration {
- mojo.common.mojom.FilePath unprotected_pref_filename;
- mojo.common.mojom.FilePath protected_pref_filename;
- array<TrackedPreferenceMetadata> tracking_configuration;
- uint64 reporting_ids_count;
- string seed;
- string legacy_device_id;
- string registry_seed;
- mojo.common.mojom.String16 registry_path;
- TrackedPreferenceValidationDelegate? validation_delegate;
- ResetOnLoadObserver? reset_on_load_observer;
-};
-
-struct TrackedPreferenceMetadata {
- enum EnforcementLevel { NO_ENFORCEMENT, ENFORCE_ON_LOAD };
-
- enum PrefTrackingStrategy {
- // Atomic preferences are tracked as a whole.
- ATOMIC,
- // Split preferences are dictionaries for which each top-level entry is
- // tracked independently. Note: preferences using this strategy must be kept
- // in sync with TrackedSplitPreferences in histograms.xml.
- SPLIT,
- };
-
- enum ValueType {
- IMPERSONAL,
- // The preference value may contain personal information.
- PERSONAL,
- };
-
- uint64 reporting_id;
- string name;
- EnforcementLevel enforcement_level;
- PrefTrackingStrategy strategy;
- ValueType value_type;
-};
-
-interface ResetOnLoadObserver {
- OnResetOnLoad();
-};
« no previous file with comments | « services/preferences/public/interfaces/preferences.mojom ('k') | services/preferences/tracked/pref_hash_filter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698