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

Side by Side Diff: chrome/browser/chromeos/chrome_browser_main_chromeos.cc

Issue 11991002: Merge 176800 (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1364/src/
Patch Set: Created 7 years, 11 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
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/chromeos/cros/cert_library.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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/chrome_browser_main_chromeos.h" 5 #include "chrome/browser/chromeos/chrome_browser_main_chromeos.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "ash/shell.h" 10 #include "ash/shell.h"
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
151 void OnLoginSuccess(const std::string& username, 151 void OnLoginSuccess(const std::string& username,
152 const std::string& password, 152 const std::string& password,
153 bool pending_requests, 153 bool pending_requests,
154 bool using_oauth) { 154 bool using_oauth) {
155 pending_requests_ = pending_requests; 155 pending_requests_ = pending_requests;
156 if (!profile_prepared_) { 156 if (!profile_prepared_) {
157 // Will call OnProfilePrepared in the end. 157 // Will call OnProfilePrepared in the end.
158 LoginUtils::Get()->PrepareProfile(username, 158 LoginUtils::Get()->PrepareProfile(username,
159 std::string(), 159 std::string(),
160 password, 160 password,
161 pending_requests,
162 using_oauth, 161 using_oauth,
163 false, 162 false,
164 this); 163 this);
165 } else if (!pending_requests) { 164 } else if (!pending_requests) {
166 delete this; 165 delete this;
167 } 166 }
168 } 167 }
169 168
170 // LoginUtils::Delegate implementation: 169 // LoginUtils::Delegate implementation:
171 virtual void OnProfilePrepared(Profile* profile) { 170 virtual void OnProfilePrepared(Profile* profile) {
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
747 } else if (trial->group() == margin_200mb) { 746 } else if (trial->group() == margin_200mb) {
748 LOG(WARNING) << "low_mem: Part of '200MB' experiment"; 747 LOG(WARNING) << "low_mem: Part of '200MB' experiment";
749 LowMemoryObserver::SetLowMemoryMargin(200); 748 LowMemoryObserver::SetLowMemoryMargin(200);
750 } else { 749 } else {
751 LOG(WARNING) << "low_mem: Part of 'default' experiment"; 750 LOG(WARNING) << "low_mem: Part of 'default' experiment";
752 } 751 }
753 } 752 }
754 } 753 }
755 754
756 } // namespace chromeos 755 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/about_flags.cc ('k') | chrome/browser/chromeos/cros/cert_library.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698