OLD | NEW |
---|---|
(Empty) | |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CHROME_BROWSER_GEOLOCATION_CHROME_GEOLOCATION_PERMISSION_CONTEXT_FACTORY _H_ | |
6 #define CHROME_BROWSER_GEOLOCATION_CHROME_GEOLOCATION_PERMISSION_CONTEXT_FACTORY _H_ | |
7 | |
8 #include "base/values.h" | |
9 #include "chrome/browser/prefs/pref_service.h" | |
10 #if defined(OS_ANDROID) | |
11 #include "chrome/browser/geolocation/chrome_geolocation_permission_context_andro id.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.
| |
12 #else | |
13 #include "chrome/browser/geolocation/chrome_geolocation_permission_context.h" | |
14 #endif | |
15 | |
16 class Profile; | |
17 | |
18 class ChromeGeolocationPermissionContextFactory { | |
19 | |
20 public: | |
21 ChromeGeolocationPermissionContextFactory() {} | |
22 ~ChromeGeolocationPermissionContextFactory() {} | |
23 static ChromeGeolocationPermissionContext* Create(Profile* profile); | |
24 static void RegisterUserPrefs(PrefService* user_prefs); | |
25 | |
26 private: | |
27 | |
28 DISALLOW_COPY_AND_ASSIGN(ChromeGeolocationPermissionContextFactory); | |
29 }; | |
30 | |
31 #endif // CHROME_BROWSER_GEOLOCATION_CHROME_GEOLOCATION_PERMISSION_CONTEXT_FACT ORY_H_ | |
OLD | NEW |