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

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

Issue 1545223002: Switch to standard integer types in chrome/browser/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 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
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/sync/sync_global_error.h" 5 #include "chrome/browser/sync/sync_global_error.h"
6 6
7 #include "base/macros.h"
7 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
8 #include "chrome/browser/chrome_notification_types.h" 9 #include "chrome/browser/chrome_notification_types.h"
9 #include "chrome/browser/sync/profile_sync_test_util.h" 10 #include "chrome/browser/sync/profile_sync_test_util.h"
10 #include "chrome/browser/sync/sync_global_error_factory.h" 11 #include "chrome/browser/sync/sync_global_error_factory.h"
11 #include "chrome/browser/ui/browser.h" 12 #include "chrome/browser/ui/browser.h"
12 #include "chrome/browser/ui/global_error/global_error_service_factory.h" 13 #include "chrome/browser/ui/global_error/global_error_service_factory.h"
13 #include "chrome/browser/ui/webui/signin/login_ui_service.h" 14 #include "chrome/browser/ui/webui/signin/login_ui_service.h"
14 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h" 15 #include "chrome/browser/ui/webui/signin/login_ui_service_factory.h"
15 #include "chrome/test/base/browser_with_test_window_test.h" 16 #include "chrome/test/base/browser_with_test_window_test.h"
16 #include "chrome/test/base/testing_profile.h" 17 #include "chrome/test/base/testing_profile.h"
(...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 .WillRepeatedly(Return(true)); 164 .WillRepeatedly(Return(true));
164 EXPECT_CALL(service, IsPassphraseRequiredForDecryption()) 165 EXPECT_CALL(service, IsPassphraseRequiredForDecryption())
165 .WillRepeatedly(Return(true)); 166 .WillRepeatedly(Return(true));
166 VerifySyncGlobalErrorResult( 167 VerifySyncGlobalErrorResult(
167 &service, login_ui_service, browser(), &error, &global_error, 168 &service, login_ui_service, browser(), &error, &global_error,
168 GoogleServiceAuthError::INVALID_GAIA_CREDENTIALS, 169 GoogleServiceAuthError::INVALID_GAIA_CREDENTIALS,
169 false /* not signed in */, false /* no error */); 170 false /* not signed in */, false /* no error */);
170 171
171 global_error.Shutdown(); 172 global_error.Shutdown();
172 } 173 }
OLDNEW
« no previous file with comments | « chrome/browser/sync/sync_global_error_factory.h ('k') | chrome/browser/sync/sync_startup_tracker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698