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

Unified Diff: chrome/browser/android/offline_pages/offline_page_request_interceptor.h

Issue 2340133005: Merge M54: Support serving offline page by offline ID (Closed)
Patch Set: Created 4 years, 3 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: chrome/browser/android/offline_pages/offline_page_request_interceptor.h
diff --git a/chrome/browser/android/offline_pages/offline_page_request_interceptor.h b/chrome/browser/android/offline_pages/offline_page_request_interceptor.h
index 8d0f18e9f1bd5cfefa524bfe2e67c7b4d6d3e3e0..0c94b9a7fbb9541a21b701185ad76aec6d6a24cf 100644
--- a/chrome/browser/android/offline_pages/offline_page_request_interceptor.h
+++ b/chrome/browser/android/offline_pages/offline_page_request_interceptor.h
@@ -20,9 +20,7 @@ namespace offline_pages {
// their offline information. Created one per profile.
class OfflinePageRequestInterceptor : public net::URLRequestInterceptor {
public:
- // |profile_id|, which identifies the profile, is passed as a void* to ensure
- // it's not accidently used on the IO thread.
- explicit OfflinePageRequestInterceptor(void* profile_id);
+ OfflinePageRequestInterceptor();
~OfflinePageRequestInterceptor() override;
private:
@@ -31,9 +29,6 @@ class OfflinePageRequestInterceptor : public net::URLRequestInterceptor {
net::URLRequest* request,
net::NetworkDelegate* network_delegate) const override;
- // The profile for processing offline pages.
- void* const profile_id_;
-
DISALLOW_COPY_AND_ASSIGN(OfflinePageRequestInterceptor);
};

Powered by Google App Engine
This is Rietveld 408576698