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

Side by Side Diff: chrome/browser/android/google_location_settings_helper_factory.h

Issue 11186010: Update geolocation infobar to handle Android system settings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Failed to upload Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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_ANDROID_GOOGLE_LOCATION_SETTINGS_HELPER_FACTORY_H_
6 #define CHROME_BROWSER_ANDROID_GOOGLE_LOCATION_SETTINGS_HELPER_FACTORY_H_
7
8 #include "base/android/jni_helper.h"
9 #include "base/android/scoped_java_ref.h"
10 #include "base/values.h"
11
12 /*
13 * Factory class on chrome side to create the chrome java
14 * GoogleLocationSettingsHelper object.
15 */
16 class GoogleLocationSettingsHelperFactory {
17
18 public:
19 GoogleLocationSettingsHelperFactory();
20 ~GoogleLocationSettingsHelperFactory();
21 virtual const base::android::ScopedJavaGlobalRef<jobject>&
22 GetHelperInstance();
23 static bool Register(JNIEnv* env);
24
25 private:
26 base::android::ScopedJavaGlobalRef<jobject>
27 java_google_location_settings_helper_;
28
29 DISALLOW_COPY_AND_ASSIGN(GoogleLocationSettingsHelperFactory);
30 };
31
32 #endif // CHROME_BROWSER_ANDROID_GOOGLE_LOCATION_SETTINGS_HELPER_FACTORY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698