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

Unified Diff: components/offline_pages/content/background_loader/background_loader_contents.h

Issue 2481443002: Implementation (cc file) for background loader contents. (Closed)
Patch Set: rebase Created 4 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 side-by-side diff with in-line comments
Download patch
Index: components/offline_pages/content/background_loader/background_loader_contents.h
diff --git a/components/offline_pages/content/background_loader/background_loader_contents.h b/components/offline_pages/content/background_loader/background_loader_contents.h
index 3ea2460d2d2ea8246fa4dfa8f674b8e89c8d0590..401083ff418453a5fe107fdf9aa716f0a90faab3 100644
--- a/components/offline_pages/content/background_loader/background_loader_contents.h
+++ b/components/offline_pages/content/background_loader/background_loader_contents.h
@@ -7,12 +7,12 @@
#include <string>
-#include "base/callback.h"
#include "content/public/browser/web_contents_delegate.h"
#include "url/gurl.h"
namespace content {
class WebContents;
+class BrowserContext;
}
namespace background_loader {
@@ -74,6 +74,9 @@ class BackgroundLoaderContents : public content::WebContentsDelegate {
content::MediaStreamType type) override;
private:
+ friend class BackgroundLoaderContentsTest;
+ BackgroundLoaderContents();
+
std::unique_ptr<content::WebContents> web_contents_;
content::BrowserContext* browser_context_;

Powered by Google App Engine
This is Rietveld 408576698