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

Unified Diff: chrome/browser/chromeos/login/helper.cc

Issue 6902107: Merge 82987, 83304 - make sure that OEM tab is shown even if first login is Guest (Closed) Base URL: svn://svn.chromium.org/chrome/branches/742/src/
Patch Set: Created 9 years, 8 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/chromeos/login/helper.h ('k') | chrome/browser/chromeos/login/login_display_host.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/login/helper.cc
===================================================================
--- chrome/browser/chromeos/login/helper.cc (revision 83304)
+++ chrome/browser/chromeos/login/helper.cc (working copy)
@@ -6,7 +6,7 @@
#include "base/file_util.h"
#include "chrome/browser/chromeos/cros/network_library.h"
-#include "chrome/browser/chromeos/customization_document.h"
+#include "chrome/browser/chromeos/system_access.h"
#include "chrome/browser/google/google_util.h"
#include "googleurl/src/gurl.h"
#include "grit/generated_resources.h"
@@ -41,10 +41,6 @@
const char kAccountRecoveryHelpUrl[] =
"https://www.google.com/support/accounts/bin/answer.py?answer=48598";
-// Path to OEM partner startup customization manifest.
-const char kStartupCustomizationManifestPath[] =
- "/opt/oem/etc/startup_manifest.json";
-
class BackgroundPainter : public views::Painter {
public:
BackgroundPainter() {}
@@ -221,27 +217,6 @@
}
}
-const chromeos::StartupCustomizationDocument* LoadStartupManifest() {
- // Loading manifest causes us to do blocking IO on UI thread.
- // Temporarily allow it until we fix http://crosbug.com/11103
- base::ThreadRestrictions::ScopedAllowIO allow_io;
- FilePath startup_manifest_path(kStartupCustomizationManifestPath);
- if (file_util::PathExists(startup_manifest_path)) {
- scoped_ptr<chromeos::StartupCustomizationDocument> customization(
- new chromeos::StartupCustomizationDocument());
- bool manifest_loaded = customization->LoadManifestFromFile(
- startup_manifest_path);
- if (manifest_loaded) {
- VLOG(1) << "Startup manifest loaded successfully";
- return customization.release();
- }
- LOG(ERROR) << "Error loading startup manifest: "
- << kStartupCustomizationManifestPath;
- }
-
- return NULL;
-}
-
namespace login {
gfx::Size WideButton::GetPreferredSize() {
« no previous file with comments | « chrome/browser/chromeos/login/helper.h ('k') | chrome/browser/chromeos/login/login_display_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698