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

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

Issue 8537032: Prevent unused-variable warnings in the CrOS build with gcc 4.6. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 9 years, 1 month 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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/existing_user_controller.h" 5 #include "chrome/browser/chromeos/login/existing_user_controller.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/bind_helpers.h" 8 #include "base/bind_helpers.h"
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
(...skipping 353 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 364
365 bool has_cookies = 365 bool has_cookies =
366 login_performer_->auth_mode() == LoginPerformer::AUTH_MODE_EXTENSION; 366 login_performer_->auth_mode() == LoginPerformer::AUTH_MODE_EXTENSION;
367 367
368 // LoginPerformer instance will delete itself once online auth result is OK. 368 // LoginPerformer instance will delete itself once online auth result is OK.
369 // In case of failure it'll bring up ScreenLock and ask for 369 // In case of failure it'll bring up ScreenLock and ask for
370 // correct password/display error message. 370 // correct password/display error message.
371 // Even in case when following online,offline protocol and returning 371 // Even in case when following online,offline protocol and returning
372 // requests_pending = false, let LoginPerformer delete itself. 372 // requests_pending = false, let LoginPerformer delete itself.
373 login_performer_->set_delegate(NULL); 373 login_performer_->set_delegate(NULL);
374 LoginPerformer* performer = login_performer_.release(); 374 ignore_result(login_performer_.release());
375 performer = NULL;
376 375
377 // Will call OnProfilePrepared() in the end. 376 // Will call OnProfilePrepared() in the end.
378 LoginUtils::Get()->PrepareProfile(username, 377 LoginUtils::Get()->PrepareProfile(username,
379 password, 378 password,
380 credentials, 379 credentials,
381 pending_requests, 380 pending_requests,
382 using_oauth, 381 using_oauth,
383 has_cookies, 382 has_cookies,
384 this); 383 this);
385 384
(...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after
587 cryptohomed->AsyncSetOwnerUser( 586 cryptohomed->AsyncSetOwnerUser(
588 UserCrosSettingsProvider::cached_owner(), NULL); 587 UserCrosSettingsProvider::cached_owner(), NULL);
589 588
590 // Do not invoke AsyncDoAutomaticFreeDiskSpaceControl(NULL) here 589 // Do not invoke AsyncDoAutomaticFreeDiskSpaceControl(NULL) here
591 // so it does not delay the following mount. Cleanup will be 590 // so it does not delay the following mount. Cleanup will be
592 // started in Cryptohomed by timer. 591 // started in Cryptohomed by timer.
593 } 592 }
594 } 593 }
595 594
596 } // namespace chromeos 595 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/cros/mount_library.cc ('k') | chrome/browser/chromeos/login/image_decoder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698