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

Side by Side Diff: chrome/browser/prerender/prerender_test_utils.h

Issue 2435783003: [NoStatePrefetch]: fix git cl lint warnings in prerender_test_utils.* (Closed)
Patch Set: 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 | « no previous file | chrome/browser/prerender/prerender_test_utils.cc » ('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) 2016 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2016 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 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_TEST_UTILS_H_ 5 #ifndef CHROME_BROWSER_PRERENDER_PRERENDER_TEST_UTILS_H_
6 #define CHROME_BROWSER_PRERENDER_PRERENDER_TEST_UTILS_H_ 6 #define CHROME_BROWSER_PRERENDER_PRERENDER_TEST_UTILS_H_
7 7
8 #include <deque>
8 #include <functional> 9 #include <functional>
10 #include <memory>
11 #include <set>
12 #include <string>
13 #include <unordered_map>
14 #include <vector>
9 15
10 #include "base/memory/weak_ptr.h" 16 #include "base/memory/weak_ptr.h"
11 #include "base/run_loop.h" 17 #include "base/run_loop.h"
12 #include "base/test/histogram_tester.h" 18 #include "base/test/histogram_tester.h"
13 #include "chrome/browser/external_protocol/external_protocol_handler.h" 19 #include "chrome/browser/external_protocol/external_protocol_handler.h"
14 #include "chrome/browser/prerender/prerender_contents.h" 20 #include "chrome/browser/prerender/prerender_contents.h"
15 #include "chrome/browser/prerender/prerender_manager.h" 21 #include "chrome/browser/prerender/prerender_manager.h"
16 #include "chrome/browser/safe_browsing/test_safe_browsing_service.h" 22 #include "chrome/browser/safe_browsing/test_safe_browsing_service.h"
17 #include "chrome/test/base/in_process_browser_test.h" 23 #include "chrome/test/base/in_process_browser_test.h"
18 #include "components/safe_browsing_db/test_database_manager.h" 24 #include "components/safe_browsing_db/test_database_manager.h"
(...skipping 355 matching lines...) Expand 10 before | Expand all | Expand 10 after
374 const base::WeakPtr<RequestCounter>& counter); 380 const base::WeakPtr<RequestCounter>& counter);
375 381
376 // Makes |url| respond to requests with the contents of |file|. 382 // Makes |url| respond to requests with the contents of |file|.
377 void CreateMockInterceptorOnIO(const GURL& url, const base::FilePath& file); 383 void CreateMockInterceptorOnIO(const GURL& url, const base::FilePath& file);
378 384
379 } // namespace test_utils 385 } // namespace test_utils
380 386
381 } // namespace prerender 387 } // namespace prerender
382 388
383 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_TEST_UTILS_H_ 389 #endif // CHROME_BROWSER_PRERENDER_PRERENDER_TEST_UTILS_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/prerender/prerender_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698