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

Side by Side Diff: android_webview/browser/aw_content_browser_client.cc

Issue 2129313002: Geolocation cleanup: corrects uses of content::AccessTokenStore* and net::URLRequestContextGetter* (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed StartTestStepFromClientThread() Created 4 years, 5 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
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "android_webview/browser/aw_content_browser_client.h" 5 #include "android_webview/browser/aw_content_browser_client.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "android_webview/browser/aw_browser_context.h" 9 #include "android_webview/browser/aw_browser_context.h"
10 #include "android_webview/browser/aw_browser_main_parts.h" 10 #include "android_webview/browser/aw_browser_main_parts.h"
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 ~AwAccessTokenStore() override {} 159 ~AwAccessTokenStore() override {}
160 160
161 DISALLOW_COPY_AND_ASSIGN(AwAccessTokenStore); 161 DISALLOW_COPY_AND_ASSIGN(AwAccessTokenStore);
162 }; 162 };
163 163
164 // A provider of Geolocation services to override AccessTokenStore. 164 // A provider of Geolocation services to override AccessTokenStore.
165 class AwGeolocationDelegate : public content::GeolocationDelegate { 165 class AwGeolocationDelegate : public content::GeolocationDelegate {
166 public: 166 public:
167 AwGeolocationDelegate() = default; 167 AwGeolocationDelegate() = default;
168 168
169 content::AccessTokenStore* CreateAccessTokenStore() final { 169 scoped_refptr<content::AccessTokenStore> CreateAccessTokenStore() final {
170 return new AwAccessTokenStore(); 170 return new AwAccessTokenStore();
171 } 171 }
172 172
173 private: 173 private:
174 DISALLOW_COPY_AND_ASSIGN(AwGeolocationDelegate); 174 DISALLOW_COPY_AND_ASSIGN(AwGeolocationDelegate);
175 }; 175 };
176 176
177 AwLocaleManager* g_locale_manager = NULL; 177 AwLocaleManager* g_locale_manager = NULL;
178 178
179 } // anonymous namespace 179 } // anonymous namespace
(...skipping 372 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 552
553 #if defined(VIDEO_HOLE) 553 #if defined(VIDEO_HOLE)
554 content::ExternalVideoSurfaceContainer* 554 content::ExternalVideoSurfaceContainer*
555 AwContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer( 555 AwContentBrowserClient::OverrideCreateExternalVideoSurfaceContainer(
556 content::WebContents* web_contents) { 556 content::WebContents* web_contents) {
557 return native_factory_->CreateExternalVideoSurfaceContainer(web_contents); 557 return native_factory_->CreateExternalVideoSurfaceContainer(web_contents);
558 } 558 }
559 #endif 559 #endif
560 560
561 } // namespace android_webview 561 } // namespace android_webview
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_content_browser_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698