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

Side by Side Diff: chrome/browser/sync/signin_manager_unittest.cc

Issue 8470005: Add OVERRIDE to chrome/browser/sync/. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: includes 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/sync/signin_manager.h" 5 #include "chrome/browser/sync/signin_manager.h"
6 6
7 #include "base/compiler_specific.h"
7 #include "base/test/signaling_task.h" 8 #include "base/test/signaling_task.h"
8 #include "chrome/browser/net/gaia/token_service.h" 9 #include "chrome/browser/net/gaia/token_service.h"
9 #include "chrome/browser/net/gaia/token_service_unittest.h" 10 #include "chrome/browser/net/gaia/token_service_unittest.h"
10 #include "chrome/browser/password_manager/encryptor.h" 11 #include "chrome/browser/password_manager/encryptor.h"
11 #include "chrome/browser/prefs/pref_service.h" 12 #include "chrome/browser/prefs/pref_service.h"
12 #include "chrome/browser/sync/util/oauth.h" 13 #include "chrome/browser/sync/util/oauth.h"
13 #include "chrome/browser/webdata/web_data_service.h" 14 #include "chrome/browser/webdata/web_data_service.h"
14 #include "chrome/common/chrome_notification_types.h" 15 #include "chrome/common/chrome_notification_types.h"
15 #include "chrome/common/net/gaia/gaia_urls.h" 16 #include "chrome/common/net/gaia/gaia_urls.h"
16 #include "chrome/common/pref_names.h" 17 #include "chrome/common/pref_names.h"
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
281 TEST_F(SigninManagerTest, SignOutOnUserInfoSucessRaceTest) { 282 TEST_F(SigninManagerTest, SignOutOnUserInfoSucessRaceTest) {
282 browser_sync::SetIsUsingOAuthForTest(true); 283 browser_sync::SetIsUsingOAuthForTest(true);
283 manager_->Initialize(profile_.get()); 284 manager_->Initialize(profile_.get());
284 EXPECT_TRUE(manager_->GetUsername().empty()); 285 EXPECT_TRUE(manager_->GetUsername().empty());
285 286
286 SimulateSigninStartOAuth(); 287 SimulateSigninStartOAuth();
287 manager_->SignOut(); 288 manager_->SignOut();
288 SimulateOAuthUserInfoSuccess(); 289 SimulateOAuthUserInfoSuccess();
289 EXPECT_TRUE(manager_->GetUsername().empty()); 290 EXPECT_TRUE(manager_->GetUsername().empty());
290 } 291 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/signin_manager.h ('k') | chrome/browser/sync/test/engine/test_directory_setter_upper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698