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

Unified Diff: chrome/browser/ui/webui/chromeos/login/login_ui_helpers.cc

Issue 7980012: [ChromeOS] Reland - Make WebUI login use only needed resources. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 3 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/chromeos/login/login_ui_helpers.cc
diff --git a/chrome/browser/ui/webui/chromeos/login/login_ui_helpers.cc b/chrome/browser/ui/webui/chromeos/login/login_ui_helpers.cc
deleted file mode 100644
index 980414f83c8a75a205fe17e55409f3acfd580c0b..0000000000000000000000000000000000000000
--- a/chrome/browser/ui/webui/chromeos/login/login_ui_helpers.cc
+++ /dev/null
@@ -1,33 +0,0 @@
-// Copyright (c) 2011 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-// #include <algorithm>
-
-#include "chrome/browser/ui/webui/chromeos/login/login_ui_helpers.h"
-
-#include <algorithm>
-
-#include "base/values.h"
-#include "chrome/common/jstemplate_builder.h"
-#include "grit/browser_resources.h"
-#include "ui/base/resource/resource_bundle.h"
-
-namespace chromeos {
-
-// HTMLOperationsInterface, public:---------------------------------------------
-base::StringPiece HTMLOperationsInterface::GetLoginHTML() {
- base::StringPiece login_html(
- ResourceBundle::GetSharedInstance().GetRawDataResource(
- IDR_LOGIN_HTML));
- return login_html;
-}
-
-std::string HTMLOperationsInterface::GetFullHTML(
- base::StringPiece login_html,
- DictionaryValue* localized_strings) {
- return jstemplate_builder::GetI18nTemplateHtml(
- login_html,
- localized_strings);
-}
-
-} // namespace chromeos

Powered by Google App Engine
This is Rietveld 408576698