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

Side by Side Diff: content/browser/fileapi/timed_task_helper_unittest.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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 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 "base/basictypes.h"
6 #include "base/bind.h" 5 #include "base/bind.h"
7 #include "base/location.h" 6 #include "base/location.h"
8 #include "base/memory/scoped_ptr.h" 7 #include "base/memory/scoped_ptr.h"
9 #include "base/run_loop.h" 8 #include "base/run_loop.h"
10 #include "base/thread_task_runner_handle.h" 9 #include "base/thread_task_runner_handle.h"
11 #include "base/time/time.h" 10 #include "base/time/time.h"
12 #include "storage/browser/fileapi/timed_task_helper.h" 11 #include "storage/browser/fileapi/timed_task_helper.h"
13 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
14 13
15 using storage::TimedTaskHelper; 14 using storage::TimedTaskHelper;
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 76
78 ASSERT_TRUE(embedder.timer()->IsRunning()); 77 ASSERT_TRUE(embedder.timer()->IsRunning());
79 } 78 }
80 79
81 // At this point the callback is still in the message queue but 80 // At this point the callback is still in the message queue but
82 // embedder is gone. 81 // embedder is gone.
83 base::RunLoop().RunUntilIdle(); 82 base::RunLoop().RunUntilIdle();
84 } 83 }
85 84
86 } // namespace content 85 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698