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

Side by Side Diff: chrome/browser/sync_file_system/sync_file_system_service_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 <stddef.h>
6
5 #include <vector> 7 #include <vector>
6 8
7 #include "base/basictypes.h"
8 #include "base/bind.h" 9 #include "base/bind.h"
9 #include "base/run_loop.h" 10 #include "base/run_loop.h"
10 #include "base/single_thread_task_runner.h" 11 #include "base/single_thread_task_runner.h"
11 #include "base/stl_util.h" 12 #include "base/stl_util.h"
12 #include "base/synchronization/waitable_event.h" 13 #include "base/synchronization/waitable_event.h"
13 #include "base/thread_task_runner_handle.h" 14 #include "base/thread_task_runner_handle.h"
14 #include "chrome/browser/sync_file_system/local/canned_syncable_file_system.h" 15 #include "chrome/browser/sync_file_system/local/canned_syncable_file_system.h"
15 #include "chrome/browser/sync_file_system/local/local_file_sync_context.h" 16 #include "chrome/browser/sync_file_system/local/local_file_sync_context.h"
16 #include "chrome/browser/sync_file_system/local/local_file_sync_service.h" 17 #include "chrome/browser/sync_file_system/local/local_file_sync_service.h"
17 #include "chrome/browser/sync_file_system/local/mock_sync_status_observer.h" 18 #include "chrome/browser/sync_file_system/local/mock_sync_status_observer.h"
(...skipping 463 matching lines...) Expand 10 before | Expand all | Expand 10 after
481 base::Bind(&AssignValueAndQuit<SyncFileStatus>, 482 base::Bind(&AssignValueAndQuit<SyncFileStatus>,
482 &run_loop, &status, &sync_file_status)); 483 &run_loop, &status, &sync_file_status));
483 run_loop.Run(); 484 run_loop.Run();
484 485
485 EXPECT_EQ(SYNC_STATUS_OK, status); 486 EXPECT_EQ(SYNC_STATUS_OK, status);
486 EXPECT_EQ(SYNC_FILE_STATUS_HAS_PENDING_CHANGES, sync_file_status); 487 EXPECT_EQ(SYNC_FILE_STATUS_HAS_PENDING_CHANGES, sync_file_status);
487 } 488 }
488 } 489 }
489 490
490 } // namespace sync_file_system 491 } // namespace sync_file_system
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698