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

Side by Side Diff: chrome/common/pref_names.cc

Issue 603040: Add support for top level geolocation arbitrator, and access token persistenc... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 10 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 | Annotate | Revision Log
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #include "chrome/common/pref_names.h" 5 #include "chrome/common/pref_names.h"
6 6
7 namespace prefs { 7 namespace prefs {
8 8
9 // *************** PROFILE PREFS *************** 9 // *************** PROFILE PREFS ***************
10 // These are attached to the user profile 10 // These are attached to the user profile
11 11
12 // A boolean specifying whether the New Tab page is the home page or not. 12 // A boolean specifying whether the New Tab page is the home page or not.
13 const wchar_t kHomePageIsNewTabPage[] = L"homepage_is_newtabpage"; 13 const wchar_t kHomePageIsNewTabPage[] = L"homepage_is_newtabpage";
14 14
15 // This is the URL of the page to load when opening new tabs. 15 // This is the URL of the page to load when opening new tabs.
16 const wchar_t kHomePage[] = L"homepage"; 16 const wchar_t kHomePage[] = L"homepage";
17 17
18 // Used to determine if the last session exited cleanly. Set to false when 18 // Used to determine if the last session exited cleanly. Set to false when
19 // first opened, and to true when closing. On startup if the value is false, 19 // first opened, and to true when closing. On startup if the value is false,
20 // it means the profile didn't exit cleanly. 20 // it means the profile didn't exit cleanly.
21 const wchar_t kSessionExitedCleanly[] = L"profile.exited_cleanly"; 21 const wchar_t kSessionExitedCleanly[] = L"profile.exited_cleanly";
22 22
23 // This is one of three integer values: 23 // An integer pref. Holds one of several values:
24 // 0: (or empty) don't do anything special on startup. 24 // 0: (or empty) don't do anything special on startup.
25 // 1: restore the last session. 25 // 1: restore the last session.
26 // 2: this was used to indicate a specific session should be restored. It is 26 // 2: this was used to indicate a specific session should be restored. It is
27 // no longer used, but saved to avoid conflict with old preferences. 27 // no longer used, but saved to avoid conflict with old preferences.
28 // 3: unused, previously indicated the user wants to restore a saved session. 28 // 3: unused, previously indicated the user wants to restore a saved session.
29 // 4: restore the URLs defined in kURLsToRestoreOnStartup. 29 // 4: restore the URLs defined in kURLsToRestoreOnStartup.
30 const wchar_t kRestoreOnStartup[] = L"session.restore_on_startup"; 30 const wchar_t kRestoreOnStartup[] = L"session.restore_on_startup";
31 31
32 // The URLs to restore on startup or when the home button is pressed. The URLs 32 // The URLs to restore on startup or when the home button is pressed. The URLs
33 // are only restored on startup if kRestoreOnStartup is 4. 33 // are only restored on startup if kRestoreOnStartup is 4.
(...skipping 623 matching lines...) Expand 10 before | Expand all | Expand 10 after
657 // Boolean specifying whether the user finished setting up sync. 657 // Boolean specifying whether the user finished setting up sync.
658 const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed"; 658 const wchar_t kSyncHasSetupCompleted[] = L"sync.has_setup_completed";
659 659
660 // Create web application shortcut dialog preferences. 660 // Create web application shortcut dialog preferences.
661 const wchar_t kWebAppCreateOnDesktop[] = L"browser.web_app.create_on_desktop"; 661 const wchar_t kWebAppCreateOnDesktop[] = L"browser.web_app.create_on_desktop";
662 const wchar_t kWebAppCreateInAppsMenu[] = 662 const wchar_t kWebAppCreateInAppsMenu[] =
663 L"browser.web_app.create_in_apps_menu"; 663 L"browser.web_app.create_in_apps_menu";
664 const wchar_t kWebAppCreateInQuickLaunchBar[] = 664 const wchar_t kWebAppCreateInQuickLaunchBar[] =
665 L"browser.web_app.create_in_quick_launch_bar"; 665 L"browser.web_app.create_in_quick_launch_bar";
666 666
667 // Dictionary that maps Geolocation network provider server URLs to
668 // corresponding access token.
669 const wchar_t kGeolocationAccessToken[] = L"geolocation.access_token";
670
667 } // namespace prefs 671 } // namespace prefs
OLDNEW
« no previous file with comments | « chrome/common/pref_names.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698