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

Side by Side Diff: chrome/renderer/safe_browsing/safe_browsing_url_loader_throttle.h

Issue 2914423002: Network service: move URLLoaderThrottle and ThrottlingURLLoader. (Closed)
Patch Set: Created 3 years, 6 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 | « chrome/renderer/chrome_content_renderer_client_browsertest.cc ('k') | content/child/BUILD.gn » ('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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_RENDERER_SAFE_BROWSING_SAFE_BROWSING_URL_LOADER_THROTTLE_H_ 5 #ifndef CHROME_RENDERER_SAFE_BROWSING_SAFE_BROWSING_URL_LOADER_THROTTLE_H_
6 #define CHROME_RENDERER_SAFE_BROWSING_SAFE_BROWSING_URL_LOADER_THROTTLE_H_ 6 #define CHROME_RENDERER_SAFE_BROWSING_SAFE_BROWSING_URL_LOADER_THROTTLE_H_
7 7
8 #include "base/memory/weak_ptr.h" 8 #include "base/memory/weak_ptr.h"
9 #include "chrome/common/safe_browsing.mojom.h" 9 #include "chrome/common/safe_browsing.mojom.h"
10 #include "content/public/child/url_loader_throttle.h" 10 #include "content/public/common/url_loader_throttle.h"
11 11
12 namespace chrome { 12 namespace chrome {
13 namespace mojom { 13 namespace mojom {
14 class SafeBrowsing; 14 class SafeBrowsing;
15 } 15 }
16 } 16 }
17 17
18 namespace safe_browsing { 18 namespace safe_browsing {
19 19
20 // SafeBrowsingURLLoaderThrottle queries SafeBrowsing to determine whether the 20 // SafeBrowsingURLLoaderThrottle queries SafeBrowsing to determine whether the
(...skipping 30 matching lines...) Expand all
51 51
52 size_t pending_checks_ = 0; 52 size_t pending_checks_ = 0;
53 bool blocked_ = false; 53 bool blocked_ = false;
54 54
55 base::WeakPtrFactory<SafeBrowsingURLLoaderThrottle> weak_factory_; 55 base::WeakPtrFactory<SafeBrowsingURLLoaderThrottle> weak_factory_;
56 }; 56 };
57 57
58 } // namespace safe_browsing 58 } // namespace safe_browsing
59 59
60 #endif // CHROME_RENDERER_SAFE_BROWSING_SAFE_BROWSING_URL_LOADER_THROTTLE_H_ 60 #endif // CHROME_RENDERER_SAFE_BROWSING_SAFE_BROWSING_URL_LOADER_THROTTLE_H_
OLDNEW
« no previous file with comments | « chrome/renderer/chrome_content_renderer_client_browsertest.cc ('k') | content/child/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698