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

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

Issue 2365623003: Remove unused thread.h include in trace_event_impl.h and fix IWUU. (Closed)
Patch Set: Whitelist base DEPS for all web/tests Created 4 years, 2 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 | « cc/trees/remote_channel_impl.h ('k') | components/leveldb/leveldb_mojo_proxy.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 (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 "chrome/browser/safe_browsing/protocol_manager.h" 5 #include "chrome/browser/safe_browsing/protocol_manager.h"
6 6
7 #include <memory> 7 #include <memory>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/message_loop/message_loop.h"
10 #include "base/strings/stringprintf.h" 11 #include "base/strings/stringprintf.h"
11 #include "base/test/test_simple_task_runner.h" 12 #include "base/test/test_simple_task_runner.h"
12 #include "base/threading/thread_task_runner_handle.h" 13 #include "base/threading/thread_task_runner_handle.h"
13 #include "base/time/time.h" 14 #include "base/time/time.h"
14 #include "chrome/browser/safe_browsing/chunk.pb.h" 15 #include "chrome/browser/safe_browsing/chunk.pb.h"
15 #include "components/safe_browsing_db/safebrowsing.pb.h" 16 #include "components/safe_browsing_db/safebrowsing.pb.h"
16 #include "components/safe_browsing_db/util.h" 17 #include "components/safe_browsing_db/util.h"
17 #include "content/public/test/test_browser_thread.h" 18 #include "content/public/test/test_browser_thread.h"
18 #include "google_apis/google_api_keys.h" 19 #include "google_apis/google_api_keys.h"
19 #include "net/base/escape.h" 20 #include "net/base/escape.h"
(...skipping 1078 matching lines...) Expand 10 before | Expand all | Expand 10 after
1098 1099
1099 EXPECT_FALSE(pm->IsUpdateScheduled()); 1100 EXPECT_FALSE(pm->IsUpdateScheduled());
1100 1101
1101 // Invoke the AddChunksCallback to finish the update. 1102 // Invoke the AddChunksCallback to finish the update.
1102 runner_->RunPendingTasks(); 1103 runner_->RunPendingTasks();
1103 1104
1104 EXPECT_TRUE(pm->IsUpdateScheduled()); 1105 EXPECT_TRUE(pm->IsUpdateScheduled());
1105 } 1106 }
1106 1107
1107 } // namespace safe_browsing 1108 } // namespace safe_browsing
OLDNEW
« no previous file with comments | « cc/trees/remote_channel_impl.h ('k') | components/leveldb/leveldb_mojo_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698