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

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

Issue 1140813003: NTP Zombie Code Slayer III, The Saga Continues: Foreign Sessions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@suggestions-page
Patch Set: Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/ui/webui/foreign_session_handler.h ('k') | chrome/browser/ui/webui/history_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/foreign_session_handler.cc
diff --git a/chrome/browser/ui/webui/ntp/foreign_session_handler.cc b/chrome/browser/ui/webui/foreign_session_handler.cc
similarity index 98%
rename from chrome/browser/ui/webui/ntp/foreign_session_handler.cc
rename to chrome/browser/ui/webui/foreign_session_handler.cc
index d0adc4addb590cdd5d935e17a99d4281c94660cb..ae6c4a82ef6b5f354179cf6550df38e25e84be9a 100644
--- a/chrome/browser/ui/webui/ntp/foreign_session_handler.cc
+++ b/chrome/browser/ui/webui/foreign_session_handler.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/ui/webui/ntp/foreign_session_handler.h"
+#include "chrome/browser/ui/webui/foreign_session_handler.h"
#include <algorithm>
#include <string>
@@ -280,8 +280,7 @@ void ForeignSessionHandler::HandleGetForeignSessions(
}
}
base::FundamentalValue tab_sync_enabled(IsTabSyncEnabled());
- web_ui()->CallJavascriptFunction("ntp.setForeignSessions",
- session_list,
+ web_ui()->CallJavascriptFunction("setForeignSessions", session_list,
tab_sync_enabled);
}
« no previous file with comments | « chrome/browser/ui/webui/foreign_session_handler.h ('k') | chrome/browser/ui/webui/history_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698