diff options
author | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-15 15:15:22 +0000 |
---|---|---|
committer | joth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-02-15 15:15:22 +0000 |
commit | 8b96de1255b6f885e2b86d6040de416fd6f852c6 (patch) | |
tree | 3eda323e4834cfd73a2d60f9b3af5ca004360957 /chrome/common | |
parent | 0fa513600397ae54172dd45d1b5f212924bb2d92 (diff) | |
download | chromium_src-8b96de1255b6f885e2b86d6040de416fd6f852c6.zip chromium_src-8b96de1255b6f885e2b86d6040de416fd6f852c6.tar.gz chromium_src-8b96de1255b6f885e2b86d6040de416fd6f852c6.tar.bz2 |
Add support for top level geolocation arbitrator, and access token persistence (via local state prefs)
BUG=11246
TEST=unit_tests.exe --gtest_filer=Geoloc*
Review URL: http://codereview.chromium.org/603040
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39067 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/pref_names.cc | 6 | ||||
-rw-r--r-- | chrome/common/pref_names.h | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/chrome/common/pref_names.cc b/chrome/common/pref_names.cc index a742996..74bc67e 100644 --- a/chrome/common/pref_names.cc +++ b/chrome/common/pref_names.cc @@ -20,7 +20,7 @@ const wchar_t kHomePage[] = L"homepage"; // it means the profile didn't exit cleanly. const wchar_t kSessionExitedCleanly[] = L"profile.exited_cleanly"; -// This is one of three integer values: +// An integer pref. Holds one of several values: // 0: (or empty) don't do anything special on startup. // 1: restore the last session. // 2: this was used to indicate a specific session should be restored. It is @@ -664,4 +664,8 @@ const wchar_t kWebAppCreateInAppsMenu[] = const wchar_t kWebAppCreateInQuickLaunchBar[] = L"browser.web_app.create_in_quick_launch_bar"; +// Dictionary that maps Geolocation network provider server URLs to +// corresponding access token. +const wchar_t kGeolocationAccessToken[] = L"geolocation.access_token"; + } // namespace prefs diff --git a/chrome/common/pref_names.h b/chrome/common/pref_names.h index 6fecca6..145e5c1 100644 --- a/chrome/common/pref_names.h +++ b/chrome/common/pref_names.h @@ -247,6 +247,8 @@ extern const wchar_t kWebAppCreateOnDesktop[]; extern const wchar_t kWebAppCreateInAppsMenu[]; extern const wchar_t kWebAppCreateInQuickLaunchBar[]; +extern const wchar_t kGeolocationAccessToken[]; + } // namespace prefs #endif // CHROME_COMMON_PREF_NAMES_H_ |