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

Side by Side Diff: components/drive/file_write_watcher_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/file_write_watcher.cc ('k') | components/drive/job_list.h » ('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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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/file_write_watcher.h" 5 #include "components/drive/file_write_watcher.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/files/file_util.h" 10 #include "base/files/file_util.h"
11 #include "base/files/scoped_temp_dir.h" 11 #include "base/files/scoped_temp_dir.h"
12 #include "base/macros.h"
12 #include "base/run_loop.h" 13 #include "base/run_loop.h"
13 #include "content/public/browser/browser_thread.h" 14 #include "content/public/browser/browser_thread.h"
14 #include "content/public/test/test_browser_thread_bundle.h" 15 #include "content/public/test/test_browser_thread_bundle.h"
15 #include "testing/gtest/include/gtest/gtest.h" 16 #include "testing/gtest/include/gtest/gtest.h"
16 17
17 namespace drive { 18 namespace drive {
18 namespace internal { 19 namespace internal {
19 20
20 namespace { 21 namespace {
21 22
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 114
114 // Unwatched write. It shouldn't be notified. 115 // Unwatched write. It shouldn't be notified.
115 WriteSomethingAfterStartWatch(path4, true); 116 WriteSomethingAfterStartWatch(path4, true);
116 117
117 // The loop should quit if all the three paths are notified to be written. 118 // The loop should quit if all the three paths are notified to be written.
118 loop.Run(); 119 loop.Run();
119 } 120 }
120 121
121 } // namespace internal 122 } // namespace internal
122 } // namespace drive 123 } // namespace drive
OLDNEW
« no previous file with comments | « components/drive/file_write_watcher.cc ('k') | components/drive/job_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698