summaryrefslogtreecommitdiffstats
path: root/chrome/browser/geolocation/geolocation_prefs.cc
diff options
context:
space:
mode:
authorjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-17 17:33:56 +0000
committerjoth@chromium.org <joth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-02-17 17:33:56 +0000
commite1d4edbbf30c20092f23275d12b82639b0e8c65e (patch)
treed5d524da119e820a6c21b4ee19becb6118fa9e5e /chrome/browser/geolocation/geolocation_prefs.cc
parent22fb571d9b62f44279d46a96202f25f9c0d842db (diff)
downloadchromium_src-e1d4edbbf30c20092f23275d12b82639b0e8c65e.zip
chromium_src-e1d4edbbf30c20092f23275d12b82639b0e8c65e.tar.gz
chromium_src-e1d4edbbf30c20092f23275d12b82639b0e8c65e.tar.bz2
Add unit tests for locaiton arbitrator and browser tests for the access token store (as it integrates with browser singletons)
Fixes a few bugs discovered along the way, and make large-ish redesign of the access token API in order to allow sane use with threading restrictions. BUG=None TEST=unit_tests.exe --gtest_filter=Geol* --gtest_repeat=10000 --gtest_break_on_failure Review URL: http://codereview.chromium.org/600141 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@39232 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/geolocation/geolocation_prefs.cc')
-rw-r--r--chrome/browser/geolocation/geolocation_prefs.cc14
1 files changed, 14 insertions, 0 deletions
diff --git a/chrome/browser/geolocation/geolocation_prefs.cc b/chrome/browser/geolocation/geolocation_prefs.cc
new file mode 100644
index 0000000..c99a18f
--- /dev/null
+++ b/chrome/browser/geolocation/geolocation_prefs.cc
@@ -0,0 +1,14 @@
+// Copyright (c) 2010 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.
+
+#include "chrome/browser/geolocation/geolocation_prefs.h"
+
+#include "chrome/browser/geolocation/access_token_store.h"
+
+namespace geolocation {
+void RegisterPrefs(PrefService* prefs) {
+ // Fan out to all geolocation sub-components that use prefs.
+ AccessTokenStore::RegisterPrefs(prefs);
+}
+} // namespace geolocation