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

Side by Side Diff: chrome/browser/captive_portal/captive_portal_tab_helper.h

Issue 425653002: content: ResourceType cleanup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: REBASE Created 6 years, 4 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 | Annotate | Revision Log
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 CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_ 5 #ifndef CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_
6 #define CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_ 6 #define CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/compiler_specific.h" 9 #include "base/compiler_specific.h"
10 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
101 101
102 private: 102 private:
103 friend class CaptivePortalBrowserTest; 103 friend class CaptivePortalBrowserTest;
104 friend class CaptivePortalTabHelperTest; 104 friend class CaptivePortalTabHelperTest;
105 105
106 friend class content::WebContentsUserData<CaptivePortalTabHelper>; 106 friend class content::WebContentsUserData<CaptivePortalTabHelper>;
107 explicit CaptivePortalTabHelper(content::WebContents* web_contents); 107 explicit CaptivePortalTabHelper(content::WebContents* web_contents);
108 108
109 // Called by Observe in response to the corresponding event. 109 // Called by Observe in response to the corresponding event.
110 void OnRedirect(int child_id, 110 void OnRedirect(int child_id,
111 content::ResourceType::Type resource_type, 111 content::ResourceType resource_type,
112 const GURL& new_url); 112 const GURL& new_url);
113 113
114 // Called by Observe in response to the corresponding event. 114 // Called by Observe in response to the corresponding event.
115 void OnCaptivePortalResults( 115 void OnCaptivePortalResults(
116 captive_portal::CaptivePortalResult previous_result, 116 captive_portal::CaptivePortalResult previous_result,
117 captive_portal::CaptivePortalResult result); 117 captive_portal::CaptivePortalResult result);
118 118
119 void OnLoadAborted(); 119 void OnLoadAborted();
120 120
121 // Called to indicate a tab is at, or is navigating to, the captive portal 121 // Called to indicate a tab is at, or is navigating to, the captive portal
(...skipping 30 matching lines...) Expand all
152 // cross-process navitations. NULL when there's currently no provisional 152 // cross-process navitations. NULL when there's currently no provisional
153 // load. 153 // load.
154 content::RenderViewHost* provisional_render_view_host_; 154 content::RenderViewHost* provisional_render_view_host_;
155 155
156 content::NotificationRegistrar registrar_; 156 content::NotificationRegistrar registrar_;
157 157
158 DISALLOW_COPY_AND_ASSIGN(CaptivePortalTabHelper); 158 DISALLOW_COPY_AND_ASSIGN(CaptivePortalTabHelper);
159 }; 159 };
160 160
161 #endif // CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_ 161 #endif // CHROME_BROWSER_CAPTIVE_PORTAL_CAPTIVE_PORTAL_TAB_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698