diff options
author | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-17 22:21:05 +0000 |
---|---|---|
committer | tony@chromium.org <tony@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-09-17 22:21:05 +0000 |
commit | e4865191dc123219b81b2905f1a8d23a86ab9573 (patch) | |
tree | ebc42b07f9e7a627ceb4d395bc68c10c36a003b9 /chrome | |
parent | 367c99e721142cecdf9b1b2de8d0e9c4b427a9b0 (diff) | |
download | chromium_src-e4865191dc123219b81b2905f1a8d23a86ab9573.zip chromium_src-e4865191dc123219b81b2905f1a8d23a86ab9573.tar.gz chromium_src-e4865191dc123219b81b2905f1a8d23a86ab9573.tar.bz2 |
Remove unused prefs.
No code references these, so I'm removing them. I kept some printing
prefs that maruel says he's going to be using soon.
Review URL: http://codereview.chromium.org/209019
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@26506 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r-- | chrome/common/pref_names.cc | 28 | ||||
-rw-r--r-- | chrome/common/pref_names.h | 6 |
2 files changed, 0 insertions, 34 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc index 4ee3cb7..1fda560 100644 --- a/chrome/common/pref_names.cc +++ b/chrome/common/pref_names.cc @@ -25,24 +25,6 @@ const wchar_t kProfileNickname[] = L"profile.nickname"; // Its value should be unique within the current user data directory. const wchar_t kProfileID[] = L"profile.id"; -// A boolean value that when true stipulates that the history of the active -// tab should be shown in its entirety at the start of the list, rather than -// being mingled based on view time. -const wchar_t kRecentlyViewedModelBiasActiveTabHistory[] = - L"recently_viewed_model.bias_active_tab_history"; - -// This is a value that defines the selection mode used by the recently -// viewed pages model to determine how to load the selected item. values are: -// 0 - the tab that contains or contained the item should be activated, and -// the item navigated to within that tab. -// 1 - if the tab that contains or contained the item is active, the item -// should be navigated to, otherwise a new tab is opened with the -// selected item only. -// -// ... future -const wchar_t kRecentlyViewedModelSelectionMode[] = - L"recently_viewed_model.selection_mode"; - // Used to determine if the last session exited cleanly. Set to false when // first opened, and to true when closing. On startup if the value is false, // it means the profile didn't exit cleanly. @@ -127,10 +109,6 @@ const wchar_t kWebKitJavaEnabled[] = // Boolean which specifies whether the bookmark bar is visible on all tabs. const wchar_t kShowBookmarkBar[] = L"bookmark_bar.show_on_all_tabs"; -// Boolean which specifies whether the destinations tab should always be on. -const wchar_t kAlwaysCreateDestinationsTab[] = - L"profile.always_create_destinations_tab"; - // Boolean that is true if the password manager is on (will record new // passwords and fill in known passwords). const wchar_t kPasswordManagerEnabled[] = L"profile.password_manager_enabled"; @@ -296,16 +274,10 @@ const wchar_t kShowOmniboxSearchHint[] = L"browser.show_omnibox_search_hint"; // *************** LOCAL STATE *************** // These are attached to the machine/installation -// List of profiles that the app knows about from last run. -const wchar_t kAvailableProfiles[] = L"profiles.available"; - // The metrics client GUID and session ID. const wchar_t kMetricsClientID[] = L"user_experience_metrics.client_id"; const wchar_t kMetricsSessionID[] = L"user_experience_metrics.session_id"; -// Boolean set to true when we're recording user metrics. -const wchar_t kMetricsIsRecording[] = L"user_experience_metrics.record"; - // Date/time when the current metrics profile ID was created // (which hopefully corresponds to first run). const wchar_t kMetricsClientIDTimestamp[] = diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h index 18c7d45..8502a46 100644 --- a/chrome/common/pref_names.h +++ b/chrome/common/pref_names.h @@ -17,8 +17,6 @@ extern const wchar_t kHomePage[]; extern const wchar_t kProfileName[]; extern const wchar_t kProfileNickname[]; extern const wchar_t kProfileID[]; -extern const wchar_t kRecentlyViewedModelBiasActiveTabHistory[]; -extern const wchar_t kRecentlyViewedModelSelectionMode[]; extern const wchar_t kSessionExitedCleanly[]; extern const wchar_t kRestoreOnStartup[]; extern const wchar_t kURLsToRestoreOnStartup[]; @@ -49,7 +47,6 @@ extern const wchar_t kWebKitInspectorSettings[]; extern const wchar_t kWebKitUsesUniversalDetector[]; extern const wchar_t kWebKitTextAreasAreResizable[]; extern const wchar_t kWebKitJavaEnabled[]; -extern const wchar_t kAlwaysCreateDestinationsTab[]; extern const wchar_t kPasswordManagerEnabled[]; extern const wchar_t kFormAutofillEnabled[]; extern const wchar_t kSafeBrowsingEnabled[]; @@ -115,11 +112,8 @@ extern const wchar_t kUseCustomChromeFrame[]; extern const wchar_t kShowOmniboxSearchHint[]; // Local state -extern const wchar_t kAvailableProfiles[]; - extern const wchar_t kMetricsClientID[]; extern const wchar_t kMetricsSessionID[]; -extern const wchar_t kMetricsIsRecording[]; extern const wchar_t kMetricsClientIDTimestamp[]; extern const wchar_t kMetricsReportingEnabled[]; extern const wchar_t kMetricsInitialLogs[]; |