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); |
} |