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

Side by Side Diff: content/browser/geolocation/location_api_adapter_android.h

Issue 16514006: Update includes of message_loop_proxy. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_GEOLOCATION_LOCATION_API_ADAPTER_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_GEOLOCATION_LOCATION_API_ADAPTER_ANDROID_H_
6 #define CONTENT_BROWSER_GEOLOCATION_LOCATION_API_ADAPTER_ANDROID_H_ 6 #define CONTENT_BROWSER_GEOLOCATION_LOCATION_API_ADAPTER_ANDROID_H_
7 7
8 #include "base/android/jni_helper.h" 8 #include "base/android/jni_helper.h"
9 #include "base/android/scoped_java_ref.h" 9 #include "base/android/scoped_java_ref.h"
10 #include "base/memory/ref_counted.h" 10 #include "base/memory/ref_counted.h"
11 #include "base/memory/singleton.h" 11 #include "base/memory/singleton.h"
12 #include "base/message_loop_proxy.h" 12 #include "base/message_loop/message_loop_proxy.h"
13 #include "base/synchronization/lock.h" 13 #include "base/synchronization/lock.h"
14 14
15 namespace content { 15 namespace content {
16 class LocationProviderAndroid; 16 class LocationProviderAndroid;
17 struct Geoposition; 17 struct Geoposition;
18 18
19 // Interacts with JNI and reports back to AndroidLocationProvider. 19 // Interacts with JNI and reports back to AndroidLocationProvider.
20 // This class creates a LocationProvider java object and listens for 20 // This class creates a LocationProvider java object and listens for
21 // updates. 21 // updates.
22 // The simplified flow is: 22 // The simplified flow is:
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 // Guards against the following member which is accessed on Geolocation 73 // Guards against the following member which is accessed on Geolocation
74 // thread and the JNI main thread looper. 74 // thread and the JNI main thread looper.
75 base::Lock lock_; 75 base::Lock lock_;
76 scoped_refptr<base::MessageLoopProxy> message_loop_; 76 scoped_refptr<base::MessageLoopProxy> message_loop_;
77 }; 77 };
78 78
79 } // namespace content 79 } // namespace content
80 80
81 #endif // CONTENT_BROWSER_GEOLOCATION_LOCATION_API_ADAPTER_ANDROID_H_ 81 #endif // CONTENT_BROWSER_GEOLOCATION_LOCATION_API_ADAPTER_ANDROID_H_
OLDNEW
« no previous file with comments | « content/browser/geolocation/fake_access_token_store.cc ('k') | content/browser/geolocation/mock_location_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698