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

Unified Diff: chrome/browser/ui/webui/app_launcher_page_ui.cc

Issue 14039004: Add int params to URLDataSource::StartDataRequest(). (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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/ui/webui/app_launcher_page_ui.cc
diff --git a/chrome/browser/ui/webui/app_launcher_page_ui.cc b/chrome/browser/ui/webui/app_launcher_page_ui.cc
index aeee5b0fed0648bb85356fd3bdbccde27188158d..b95a055459c5a52b6f8308c07e8ec52cb05b40d8 100644
--- a/chrome/browser/ui/webui/app_launcher_page_ui.cc
+++ b/chrome/browser/ui/webui/app_launcher_page_ui.cc
@@ -92,7 +92,7 @@ std::string AppLauncherPageUI::HTMLSource::GetSource() {
void AppLauncherPageUI::HTMLSource::StartDataRequest(
const std::string& path,
- bool is_incognito,
+ const content::URLDataSource::ExtraRequestInfo& info,
const content::URLDataSource::GotDataCallback& callback) {
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::UI));
@@ -102,7 +102,7 @@ void AppLauncherPageUI::HTMLSource::StartDataRequest(
resource->set_should_show_recently_closed_menu(false);
scoped_refptr<base::RefCountedMemory> html_bytes(
- resource->GetNewTabHTML(is_incognito));
+ resource->GetNewTabHTML(info.is_incognito));
callback.Run(html_bytes);
}

Powered by Google App Engine
This is Rietveld 408576698