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

Unified Diff: chrome/browser/browser_about_handler.cc

Issue 3044001: Register getUserInfo message callback for register screen. (Closed) Base URL: git://codf21.jail/chromium.git
Patch Set: - test changes Created 10 years, 5 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 | « no previous file | chrome/browser/chromeos/login/wizard_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/browser_about_handler.cc
diff --git a/chrome/browser/browser_about_handler.cc b/chrome/browser/browser_about_handler.cc
index 9607cad6ab046bd9a6472b90e908c3d3bdae1c52..006d44f718525ef601b592bd4b23a6ae2ed93d83 100644
--- a/chrome/browser/browser_about_handler.cc
+++ b/chrome/browser/browser_about_handler.cc
@@ -114,7 +114,6 @@ const char kSandboxPath[] = "sandbox";
#if defined(OS_CHROMEOS)
const char kNetworkPath[] = "network";
const char kOSCreditsPath[] = "os-credits";
-const char kRegisterProductPath[] = "register";
const char kSysPath[] = "system";
#endif
@@ -141,7 +140,6 @@ const char *kAllAboutPaths[] = {
#if defined(OS_CHROMEOS)
kNetworkPath,
kOSCreditsPath,
- kRegisterProductPath,
kSysPath,
#endif
};
@@ -601,19 +599,6 @@ std::string AboutSandbox() {
}
#endif
-#if defined(OS_CHROMEOS)
-std::string AboutRegisterProduct() {
- static const base::StringPiece register_html(
- ResourceBundle::GetSharedInstance().GetRawDataResource(
- IDR_HOST_REGISTRATION_PAGE_HTML));
-
- // TODO(nkostylev): Embed registration form URL from startup manifest.
- // http://crosbug.com/4645.
-
- return register_html.as_string();
-}
-#endif
-
std::string AboutVersion(DictionaryValue* localized_strings) {
localized_strings->SetString(L"title",
l10n_util::GetString(IDS_ABOUT_VERSION_TITLE));
@@ -909,8 +894,6 @@ void AboutSource::StartDataRequest(const std::string& path_raw,
#if defined(OS_CHROMEOS)
} else if (path == kSysPath) {
response = AboutSys();
- } else if (path == kRegisterProductPath) {
- response = AboutRegisterProduct();
#endif
}
« no previous file with comments | « no previous file | chrome/browser/chromeos/login/wizard_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698