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

Unified Diff: android_webview/browser/aw_content_browser_client.cc

Issue 12211047: Implementing geolocation for the Android Webview (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Minor style updates Created 7 years, 10 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: android_webview/browser/aw_content_browser_client.cc
diff --git a/android_webview/browser/aw_content_browser_client.cc b/android_webview/browser/aw_content_browser_client.cc
index 5a53dd1cb0f381f96c5b860ad44640bf7912af37..ca0574ff78786b38ced8697dc0e61f754ae7c5ee 100644
--- a/android_webview/browser/aw_content_browser_client.cc
+++ b/android_webview/browser/aw_content_browser_client.cc
@@ -28,7 +28,9 @@ class DummyAccessTokenStore : public content::AccessTokenStore {
DummyAccessTokenStore() { }
virtual void LoadAccessTokens(
- const LoadAccessTokensCallbackType& request) OVERRIDE { }
+ const LoadAccessTokensCallbackType& request) OVERRIDE {
+ request.Run(access_token_set_, NULL);
joth 2013/02/06 22:09:51 comment that access tokens not used on android, bu
Kristian Monsen 2013/02/08 00:07:44 Done.
+ }
private:
virtual ~DummyAccessTokenStore() { }
@@ -36,6 +38,8 @@ class DummyAccessTokenStore : public content::AccessTokenStore {
virtual void SaveAccessToken(
boliu 2013/02/06 20:29:54 Really weird two overriden methods from same class
Kristian Monsen 2013/02/08 00:07:44 Done.
const GURL& server_url, const string16& access_token) OVERRIDE { }
+ AccessTokenStore::AccessTokenSet access_token_set_;
joth 2013/02/06 22:09:51 I think you can make this a local in the method ab
Kristian Monsen 2013/02/08 00:07:44 Done.
+
DISALLOW_COPY_AND_ASSIGN(DummyAccessTokenStore);
};

Powered by Google App Engine
This is Rietveld 408576698