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

Side by Side Diff: components/navigation_interception/intercept_navigation_resource_throttle.h

Issue 11830043: Move content/components/navigation_interception to src/components (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Revert content gyp change Created 7 years, 11 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 (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 #ifndef CONTENT_COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_RESOURCE _THROTTLE_H_ 5 #ifndef COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_RESOURCE_THROTTL E_H_
6 #define CONTENT_COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_RESOURCE _THROTTLE_H_ 6 #define COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_RESOURCE_THROTTL E_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "content/public/browser/resource_throttle.h" 12 #include "content/public/browser/resource_throttle.h"
13 #include "content/public/common/page_transition_types.h" 13 #include "content/public/common/page_transition_types.h"
14 14
15 class GURL; 15 class GURL;
16 16
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 52
53 net::URLRequest* request_; 53 net::URLRequest* request_;
54 CheckOnUIThreadCallback should_ignore_callback_; 54 CheckOnUIThreadCallback should_ignore_callback_;
55 base::WeakPtrFactory<InterceptNavigationResourceThrottle> weak_ptr_factory_; 55 base::WeakPtrFactory<InterceptNavigationResourceThrottle> weak_ptr_factory_;
56 56
57 DISALLOW_COPY_AND_ASSIGN(InterceptNavigationResourceThrottle); 57 DISALLOW_COPY_AND_ASSIGN(InterceptNavigationResourceThrottle);
58 }; 58 };
59 59
60 } // namespace content 60 } // namespace content
61 61
62 #endif // CONTENT_COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_RESOU RCE_THROTTLE_H_ 62 #endif // COMPONENTS_NAVIGATION_INTERCEPTION_INTERCEPT_NAVIGATION_RESOURCE_THRO TTLE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698