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

Side by Side Diff: chrome/browser/android/offline_pages/prerendering_loader.cc

Issue 1961083002: Updates to PrerenderingOffliner and PrerenderingLoader interfaces to push PrerenderManager knowledge (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed the unnecessary const on enum accessor as it made a trybot unhappy. Created 4 years, 7 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
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "chrome/browser/android/offline_pages/prerendering_loader.h" 5 #include "chrome/browser/android/offline_pages/prerendering_loader.h"
6 6
7 #include "content/public/browser/browser_context.h"
7 #include "content/public/browser/web_contents.h" 8 #include "content/public/browser/web_contents.h"
8 #include "ui/gfx/geometry/size.h" 9 #include "ui/gfx/geometry/size.h"
9 10
10 namespace offline_pages { 11 namespace offline_pages {
11 12
12 PrerenderingLoader::PrerenderingLoader(PrerenderManager* prerender_manager) {} 13 PrerenderingLoader::PrerenderingLoader(
14 content::BrowserContext* browser_context) {}
13 15
14 PrerenderingLoader::~PrerenderingLoader() {} 16 PrerenderingLoader::~PrerenderingLoader() {}
15 17
16 bool PrerenderingLoader::LoadPage( 18 bool PrerenderingLoader::LoadPage(
17 const GURL& url, 19 const GURL& url,
18 content::SessionStorageNamespace* session_storage_namespace,
19 const gfx::Size& size,
20 const LoadPageCallback& callback) { 20 const LoadPageCallback& callback) {
21 // TODO(dougarnett): implement. 21 // TODO(dougarnett): implement.
22 return false; 22 return false;
23 } 23 }
24 24
25 void PrerenderingLoader::StopLoading() { 25 void PrerenderingLoader::StopLoading() {
26 // TODO(dougarnett): implement. 26 // TODO(dougarnett): implement.
27 } 27 }
28 28
29 } // namespace offline_pages 29 } // namespace offline_pages
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698