summaryrefslogtreecommitdiffstats
path: root/android_webview/browser
diff options
context:
space:
mode:
authorjkarlin <jkarlin@chromium.org>2015-10-06 08:13:35 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-06 15:14:39 +0000
commit6f5078ed47fa34af63cec4139db3347bcb74ecb4 (patch)
tree55a05742fe85dff9300f051f8448483148993b12 /android_webview/browser
parent75a0abfba2569e38b0d8cd6bfd6a7f135d2fffe2 (diff)
downloadchromium_src-6f5078ed47fa34af63cec4139db3347bcb74ecb4.zip
chromium_src-6f5078ed47fa34af63cec4139db3347bcb74ecb4.tar.gz
chromium_src-6f5078ed47fa34af63cec4139db3347bcb74ecb4.tar.bz2
[BackgroundSync] Add BackgroundSyncController to Chrome
The new BackgroundSyncController allows content::BackgroundSyncManager to access Chrome features like Rappor and, in a followup CL, the BackgroundSyncLauncher. BUG=538640 Review URL: https://codereview.chromium.org/1369823003 Cr-Commit-Position: refs/heads/master@{#352605}
Diffstat (limited to 'android_webview/browser')
-rw-r--r--android_webview/browser/aw_browser_context.cc5
-rw-r--r--android_webview/browser/aw_browser_context.h1
2 files changed, 6 insertions, 0 deletions
diff --git a/android_webview/browser/aw_browser_context.cc b/android_webview/browser/aw_browser_context.cc
index 713b308..1591078 100644
--- a/android_webview/browser/aw_browser_context.cc
+++ b/android_webview/browser/aw_browser_context.cc
@@ -410,6 +410,11 @@ content::PermissionManager* AwBrowserContext::GetPermissionManager() {
return permission_manager_.get();
}
+content::BackgroundSyncController*
+AwBrowserContext::GetBackgroundSyncController() {
+ return nullptr;
+}
+
policy::URLBlacklistManager* AwBrowserContext::GetURLBlacklistManager() {
// Should not be called until the end of PreMainMessageLoopRun, where
// blacklist_manager_ is initialized.
diff --git a/android_webview/browser/aw_browser_context.h b/android_webview/browser/aw_browser_context.h
index 053ed6a..9028da0 100644
--- a/android_webview/browser/aw_browser_context.h
+++ b/android_webview/browser/aw_browser_context.h
@@ -128,6 +128,7 @@ class AwBrowserContext : public content::BrowserContext,
content::PushMessagingService* GetPushMessagingService() override;
content::SSLHostStateDelegate* GetSSLHostStateDelegate() override;
content::PermissionManager* GetPermissionManager() override;
+ content::BackgroundSyncController* GetBackgroundSyncController() override;
// visitedlink::VisitedLinkDelegate implementation.
void RebuildTable(const scoped_refptr<URLEnumerator>& enumerator) override;