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

Side by Side Diff: components/browser_sync/browser/profile_sync_service_unittest.cc

Issue 1546143002: Switch to standard integer types in components/, part 1 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 <utility> 5 #include <utility>
6 6
7 #include "base/basictypes.h"
8 #include "base/callback.h" 7 #include "base/callback.h"
9 #include "base/command_line.h" 8 #include "base/command_line.h"
10 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
11 #include "base/location.h" 10 #include "base/location.h"
12 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
13 #include "base/run_loop.h" 12 #include "base/run_loop.h"
14 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
15 #include "base/strings/string_number_conversions.h" 14 #include "base/strings/string_number_conversions.h"
16 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
17 #include "base/test/sequenced_worker_pool_owner.h" 16 #include "base/test/sequenced_worker_pool_owner.h"
18 #include "base/thread_task_runner_handle.h" 17 #include "base/thread_task_runner_handle.h"
19 #include "base/values.h" 18 #include "base/values.h"
19 #include "build/build_config.h"
20 #include "components/browser_sync/browser/profile_sync_service.h" 20 #include "components/browser_sync/browser/profile_sync_service.h"
21 #include "components/browser_sync/common/browser_sync_switches.h" 21 #include "components/browser_sync/common/browser_sync_switches.h"
22 #include "components/invalidation/impl/profile_invalidation_provider.h" 22 #include "components/invalidation/impl/profile_invalidation_provider.h"
23 #include "components/invalidation/public/invalidation_service.h" 23 #include "components/invalidation/public/invalidation_service.h"
24 #include "components/signin/core/browser/account_tracker_service.h" 24 #include "components/signin/core/browser/account_tracker_service.h"
25 #include "components/signin/core/browser/fake_profile_oauth2_token_service.h" 25 #include "components/signin/core/browser/fake_profile_oauth2_token_service.h"
26 #include "components/signin/core/browser/fake_signin_manager.h" 26 #include "components/signin/core/browser/fake_signin_manager.h"
27 #include "components/signin/core/browser/test_signin_client.h" 27 #include "components/signin/core/browser/test_signin_client.h"
28 #include "components/strings/grit/components_strings.h" 28 #include "components/strings/grit/components_strings.h"
29 #include "components/sync_driver/data_type_manager.h" 29 #include "components/sync_driver/data_type_manager.h"
(...skipping 1079 matching lines...) Expand 10 before | Expand all | Expand 10 after
1109 // dereferenced in OnSyncCycleCompleted. The fix is to use find() to check if 1109 // dereferenced in OnSyncCycleCompleted. The fix is to use find() to check if
1110 // entry for sessions exists in map. 1110 // entry for sessions exists in map.
1111 TEST_F(ProfileSyncServiceTest, ValidPointersInDTCMap) { 1111 TEST_F(ProfileSyncServiceTest, ValidPointersInDTCMap) {
1112 CreateService(browser_sync::AUTO_START); 1112 CreateService(browser_sync::AUTO_START);
1113 service()->OnSessionRestoreComplete(); 1113 service()->OnSessionRestoreComplete();
1114 service()->OnSyncCycleCompleted(); 1114 service()->OnSyncCycleCompleted();
1115 } 1115 }
1116 1116
1117 } // namespace 1117 } // namespace
1118 } // namespace browser_sync 1118 } // namespace browser_sync
OLDNEW
« no previous file with comments | « components/browser_sync/browser/profile_sync_service.cc ('k') | components/browser_sync/browser/signin_confirmation_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698