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

Side by Side Diff: chrome/browser/safe_browsing/local_database_manager_unittest.cc

Issue 1548133002: Switch to standard integer types in chrome/browser/, part 3 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 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 <stddef.h>
6
5 #include <string> 7 #include <string>
6 #include <vector> 8 #include <vector>
7 9
10 #include "base/macros.h"
8 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h" 12 #include "base/memory/scoped_ptr.h"
10 #include "base/run_loop.h" 13 #include "base/run_loop.h"
11 #include "chrome/browser/safe_browsing/local_database_manager.h" 14 #include "chrome/browser/safe_browsing/local_database_manager.h"
12 #include "chrome/browser/safe_browsing/safe_browsing_service.h" 15 #include "chrome/browser/safe_browsing/safe_browsing_service.h"
13 #include "content/public/test/test_browser_thread_bundle.h" 16 #include "content/public/test/test_browser_thread_bundle.h"
14 #include "content/public/test/test_utils.h" 17 #include "content/public/test/test_utils.h"
15 #include "testing/gtest/include/gtest/gtest.h" 18 #include "testing/gtest/include/gtest/gtest.h"
16 #include "testing/platform_test.h" 19 #include "testing/platform_test.h"
17 #include "url/gurl.h" 20 #include "url/gurl.h"
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after
212 // Stop the service without first flushing above tasks. 215 // Stop the service without first flushing above tasks.
213 db_manager->StopOnIOThread(false); 216 db_manager->StopOnIOThread(false);
214 217
215 // Now run posted tasks, whish should include the extension check which has 218 // Now run posted tasks, whish should include the extension check which has
216 // been posted to the safe browsing task runner. This should not crash. 219 // been posted to the safe browsing task runner. This should not crash.
217 content::RunAllBlockingPoolTasksUntilIdle(); 220 content::RunAllBlockingPoolTasksUntilIdle();
218 base::RunLoop().RunUntilIdle(); 221 base::RunLoop().RunUntilIdle();
219 } 222 }
220 223
221 } // namespace safe_browsing 224 } // namespace safe_browsing
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/local_database_manager.h ('k') | chrome/browser/safe_browsing/local_safebrowsing_test_server.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698