OLD | NEW |
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_EXTENSIONS_API_IDENTITY_WEB_AUTH_FLOW_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_IDENTITY_WEB_AUTH_FLOW_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_IDENTITY_WEB_AUTH_FLOW_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_IDENTITY_WEB_AUTH_FLOW_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "content/public/browser/notification_observer.h" | 10 #include "content/public/browser/notification_observer.h" |
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 const content::FrameNavigateParams& params) override; | 107 const content::FrameNavigateParams& params) override; |
108 void RenderProcessGone(base::TerminationStatus status) override; | 108 void RenderProcessGone(base::TerminationStatus status) override; |
109 void DidStartProvisionalLoadForFrame( | 109 void DidStartProvisionalLoadForFrame( |
110 content::RenderFrameHost* render_frame_host, | 110 content::RenderFrameHost* render_frame_host, |
111 const GURL& validated_url, | 111 const GURL& validated_url, |
112 bool is_error_page, | 112 bool is_error_page, |
113 bool is_iframe_srcdoc) override; | 113 bool is_iframe_srcdoc) override; |
114 void DidFailProvisionalLoad(content::RenderFrameHost* render_frame_host, | 114 void DidFailProvisionalLoad(content::RenderFrameHost* render_frame_host, |
115 const GURL& validated_url, | 115 const GURL& validated_url, |
116 int error_code, | 116 int error_code, |
117 const base::string16& error_description) override; | 117 const base::string16& error_description, |
| 118 bool was_ignored_by_handler) override; |
118 | 119 |
119 void BeforeUrlLoaded(const GURL& url); | 120 void BeforeUrlLoaded(const GURL& url); |
120 void AfterUrlLoaded(); | 121 void AfterUrlLoaded(); |
121 | 122 |
122 Delegate* delegate_; | 123 Delegate* delegate_; |
123 Profile* profile_; | 124 Profile* profile_; |
124 GURL provider_url_; | 125 GURL provider_url_; |
125 Mode mode_; | 126 Mode mode_; |
126 | 127 |
127 AppWindow* app_window_; | 128 AppWindow* app_window_; |
128 std::string app_window_key_; | 129 std::string app_window_key_; |
129 bool embedded_window_created_; | 130 bool embedded_window_created_; |
130 | 131 |
131 content::NotificationRegistrar registrar_; | 132 content::NotificationRegistrar registrar_; |
132 | 133 |
133 DISALLOW_COPY_AND_ASSIGN(WebAuthFlow); | 134 DISALLOW_COPY_AND_ASSIGN(WebAuthFlow); |
134 }; | 135 }; |
135 | 136 |
136 } // namespace extensions | 137 } // namespace extensions |
137 | 138 |
138 #endif // CHROME_BROWSER_EXTENSIONS_API_IDENTITY_WEB_AUTH_FLOW_H_ | 139 #endif // CHROME_BROWSER_EXTENSIONS_API_IDENTITY_WEB_AUTH_FLOW_H_ |
OLD | NEW |