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

Unified Diff: chrome/browser/geolocation/chrome_geolocation_permission_context_factory.h

Issue 11188020: Introduce Android variants of ChromeGeolocationPermissionContext, GeolocationConfirmInfoBarDelegate (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix build error Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
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..8e598b272e3627f59007562ac3c229abaae3ea62
--- /dev/null
+++ b/chrome/browser/geolocation/chrome_geolocation_permission_context_factory.h
@@ -0,0 +1,26 @@
+// 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"
+
+class ChromeGeolocationPermissionContext;
+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_

Powered by Google App Engine
This is Rietveld 408576698