Index: chrome/browser/geolocation/chrome_geolocation_permission_context_factory.h |
diff --git a/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.h b/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..dc8671af3b4e7800e8d548c6c4c57b5e15bfdec3 |
--- /dev/null |
+++ b/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.h |
@@ -0,0 +1,31 @@ |
+// Copyright (c) 2012 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. |
+ |
+#ifndef CHROME_BROWSER_GEOLOCATION_CHROME_GEOLOCATION_PERMISSION_CONTEXT_FACTORY_H_ |
+#define CHROME_BROWSER_GEOLOCATION_CHROME_GEOLOCATION_PERMISSION_CONTEXT_FACTORY_H_ |
+ |
+#include "base/values.h" |
+#include "chrome/browser/prefs/pref_service.h" |
+#if defined(OS_ANDROID) |
+#include "chrome/browser/geolocation/chrome_geolocation_permission_context_android.h" |
bulach
2012/10/22 13:01:03
nit: remove this from here and add to the .cc file
Ramya
2012/10/22 20:58:04
Done.
|
+#else |
+#include "chrome/browser/geolocation/chrome_geolocation_permission_context.h" |
+#endif |
+ |
+class Profile; |
+ |
+class ChromeGeolocationPermissionContextFactory { |
+ |
+ public: |
+ ChromeGeolocationPermissionContextFactory() {} |
+ ~ChromeGeolocationPermissionContextFactory() {} |
+ static ChromeGeolocationPermissionContext* Create(Profile* profile); |
+ static void RegisterUserPrefs(PrefService* user_prefs); |
+ |
+ private: |
+ |
+ DISALLOW_COPY_AND_ASSIGN(ChromeGeolocationPermissionContextFactory); |
+}; |
+ |
+#endif // CHROME_BROWSER_GEOLOCATION_CHROME_GEOLOCATION_PERMISSION_CONTEXT_FACTORY_H_ |