From e1d4edbbf30c20092f23275d12b82639b0e8c65e Mon Sep 17 00:00:00 2001 From: "joth@chromium.org" Date: Wed, 17 Feb 2010 17:33:56 +0000 Subject: 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 --- chrome/browser/geolocation/geolocation_prefs.cc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 chrome/browser/geolocation/geolocation_prefs.cc (limited to 'chrome/browser/geolocation/geolocation_prefs.cc') 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 -- cgit v1.1