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

Side by Side Diff: components/drive/directory_loader_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
« no previous file with comments | « components/drive/directory_loader.cc ('k') | components/drive/drive_api_util.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "components/drive/directory_loader.h" 5 #include "components/drive/directory_loader.h"
6 6
7 #include "base/callback_helpers.h" 7 #include "base/callback_helpers.h"
8 #include "base/files/scoped_temp_dir.h" 8 #include "base/files/scoped_temp_dir.h"
9 #include "base/macros.h"
9 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
10 #include "base/prefs/testing_pref_service.h" 11 #include "base/prefs/testing_pref_service.h"
11 #include "base/run_loop.h" 12 #include "base/run_loop.h"
12 #include "base/single_thread_task_runner.h" 13 #include "base/single_thread_task_runner.h"
13 #include "base/thread_task_runner_handle.h" 14 #include "base/thread_task_runner_handle.h"
14 #include "components/drive/change_list_loader.h" 15 #include "components/drive/change_list_loader.h"
15 #include "components/drive/change_list_loader_observer.h" 16 #include "components/drive/change_list_loader_observer.h"
16 #include "components/drive/drive_test_util.h" 17 #include "components/drive/drive_test_util.h"
17 #include "components/drive/event_logger.h" 18 #include "components/drive/event_logger.h"
18 #include "components/drive/file_cache.h" 19 #include "components/drive/file_cache.h"
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
243 244
244 // Unlock the loader, this should resume the pending udpate. 245 // Unlock the loader, this should resume the pending udpate.
245 lock.reset(); 246 lock.reset();
246 base::RunLoop().RunUntilIdle(); 247 base::RunLoop().RunUntilIdle();
247 EXPECT_EQ(1U, observer.changed_directories().count( 248 EXPECT_EQ(1U, observer.changed_directories().count(
248 util::GetDriveMyDriveRootPath())); 249 util::GetDriveMyDriveRootPath()));
249 } 250 }
250 251
251 } // namespace internal 252 } // namespace internal
252 } // namespace drive 253 } // namespace drive
OLDNEW
« no previous file with comments | « components/drive/directory_loader.cc ('k') | components/drive/drive_api_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698