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

Side by Side Diff: chrome/browser/extensions/api/identity/web_auth_flow.h

Issue 1194383003: Add a flag showing whether the current request was ignored by a handler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix trybot failures (DidFailProvisionalLoad calls in unit tests) Created 5 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
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_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
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_
OLDNEW
« no previous file with comments | « chrome/browser/errorpage_browsertest.cc ('k') | chrome/browser/extensions/api/identity/web_auth_flow.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698