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

Side by Side Diff: components/web_restrictions/browser/web_restrictions_resource_throttle.h

Issue 2511973004: components: Cleanup class/struct fwd declarations (Closed)
Patch Set: Rebase on top of current master branch Created 4 years 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 COMPONENTS_WEB_RESTRICTION_WEB_RESTRICTION_RESOURCE_THROTTLE_H_ 5 #ifndef COMPONENTS_WEB_RESTRICTION_WEB_RESTRICTION_RESOURCE_THROTTLE_H_
6 #define COMPONENTS_WEB_RESTRICTION_WEB_RESTRICTION_RESOURCE_THROTTLE_H_ 6 #define COMPONENTS_WEB_RESTRICTION_WEB_RESTRICTION_RESOURCE_THROTTLE_H_
7 7
8 #include "base/macros.h" 8 #include "base/macros.h"
9 #include "base/memory/weak_ptr.h" 9 #include "base/memory/weak_ptr.h"
10 #include "content/public/browser/resource_throttle.h" 10 #include "content/public/browser/resource_throttle.h"
11 #include "url/gurl.h" 11 #include "url/gurl.h"
12 12
13 namespace net {
14 class URLRequest;
15 }
16
17 namespace web_restrictions { 13 namespace web_restrictions {
18 14
19 class WebRestrictionsClient; 15 class WebRestrictionsClient;
20 16
21 class WebRestrictionsResourceThrottle : public content::ResourceThrottle { 17 class WebRestrictionsResourceThrottle : public content::ResourceThrottle {
22 public: 18 public:
23 WebRestrictionsResourceThrottle(WebRestrictionsClient* provider, 19 WebRestrictionsResourceThrottle(WebRestrictionsClient* provider,
24 const GURL& request_url, 20 const GURL& request_url,
25 bool is_main_frame); 21 bool is_main_frame);
26 ~WebRestrictionsResourceThrottle() override; 22 ~WebRestrictionsResourceThrottle() override;
(...skipping 14 matching lines...) Expand all
41 const GURL request_url_; 37 const GURL request_url_;
42 bool is_main_frame_; 38 bool is_main_frame_;
43 base::WeakPtrFactory<WebRestrictionsResourceThrottle> weak_ptr_factory_; 39 base::WeakPtrFactory<WebRestrictionsResourceThrottle> weak_ptr_factory_;
44 40
45 DISALLOW_COPY_AND_ASSIGN(WebRestrictionsResourceThrottle); 41 DISALLOW_COPY_AND_ASSIGN(WebRestrictionsResourceThrottle);
46 }; 42 };
47 43
48 } // namespace web_restrictions 44 } // namespace web_restrictions
49 45
50 #endif // COMPONENTS_WEB_RESTRICTION_WEB_RESTRICTION_RESOURCE_THROTTLE_H_ 46 #endif // COMPONENTS_WEB_RESTRICTION_WEB_RESTRICTION_RESOURCE_THROTTLE_H_
OLDNEW
« no previous file with comments | « components/web_modal/web_contents_modal_dialog_manager_delegate.h ('k') | components/webcrypto/algorithm_dispatch.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698