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

Side by Side Diff: chrome/browser/chromeos/login/apply_services_customization.cc

Issue 4011001: Convert LOG(INFO) to VLOG(1) - chrome/browser/chromeos/login/.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "chrome/browser/chromeos/login/apply_services_customization.h" 5 #include "chrome/browser/chromeos/login/apply_services_customization.h"
6 6
7 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/file_path.h" 8 #include "base/file_path.h"
9 #include "base/file_util.h" 9 #include "base/file_util.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 MessageLoop::current()->DeleteSoon(FROM_HERE, this); 125 MessageLoop::current()->DeleteSoon(FROM_HERE, this);
126 } 126 }
127 127
128 void ApplyServicesCustomization::Apply(const std::string& manifest) { 128 void ApplyServicesCustomization::Apply(const std::string& manifest) {
129 chromeos::ServicesCustomizationDocument customization; 129 chromeos::ServicesCustomizationDocument customization;
130 if (!customization.LoadManifestFromString(manifest)) { 130 if (!customization.LoadManifestFromString(manifest)) {
131 LOG(ERROR) << "Failed to partner parse services customizations manifest"; 131 LOG(ERROR) << "Failed to partner parse services customizations manifest";
132 return; 132 return;
133 } 133 }
134 134
135 LOG(INFO) << "Partner services customizations manifest loaded successfully"; 135 VLOG(1) << "Partner services customizations manifest loaded successfully";
136 if (!customization.initial_start_page_url().empty()) { 136 if (!customization.initial_start_page_url().empty()) {
137 // Append partner's start page url to command line so it gets opened 137 // Append partner's start page url to command line so it gets opened
138 // on browser startup. 138 // on browser startup.
139 CommandLine::ForCurrentProcess()->AppendArg( 139 CommandLine::ForCurrentProcess()->AppendArg(
140 customization.initial_start_page_url()); 140 customization.initial_start_page_url());
141 LOG(INFO) << "initial_start_page_url: " 141 VLOG(1) << "initial_start_page_url: "
142 << customization.initial_start_page_url(); 142 << customization.initial_start_page_url();
143 } 143 }
144 // TODO(dpolukhin): apply customized apps, exts and support page. 144 // TODO(dpolukhin): apply customized apps, exts and support page.
145 145
146 SetApplied(true); 146 SetApplied(true);
147 } 147 }
148 148
149 } 149 }
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/account_screen_browsertest.cc ('k') | chrome/browser/chromeos/login/authenticator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698