Index: components/dom_distiller/webui/resources/dom_distiller_viewer.js |
diff --git a/chrome/browser/password_manager/password_manager_util_stub.cc b/components/dom_distiller/webui/resources/dom_distiller_viewer.js |
similarity index 56% |
copy from chrome/browser/password_manager/password_manager_util_stub.cc |
copy to components/dom_distiller/webui/resources/dom_distiller_viewer.js |
index caf654a924629677f672900c5ae4b08c627feb5b..f0bca1a8ae8ee98841468eb6ef08e934a0c2de35 100644 |
--- a/chrome/browser/password_manager/password_manager_util_stub.cc |
+++ b/components/dom_distiller/webui/resources/dom_distiller_viewer.js |
@@ -2,10 +2,8 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-namespace password_manager_util { |
- |
-bool AuthenticateUser() { |
- return true; |
+var domDistillerViewer = { |
+ onReceivedTitle: function(title) { |
+ document.getElementById('viewerTitle').innerText = title; |
+ }, |
} |
- |
-} // namespace password_manager_util |