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

Side by Side Diff: content/browser/devtools/render_frame_devtools_agent_host.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 CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_
6 #define CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_
7 7
8 #include <map> 8 #include <map>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
98 void DidAttachInterstitialPage() override; 98 void DidAttachInterstitialPage() override;
99 void DidDetachInterstitialPage() override; 99 void DidDetachInterstitialPage() override;
100 void DidCommitProvisionalLoadForFrame( 100 void DidCommitProvisionalLoadForFrame(
101 RenderFrameHost* render_frame_host, 101 RenderFrameHost* render_frame_host,
102 const GURL& url, 102 const GURL& url,
103 ui::PageTransition transition_type) override; 103 ui::PageTransition transition_type) override;
104 void DidFailProvisionalLoad( 104 void DidFailProvisionalLoad(
105 RenderFrameHost* render_frame_host, 105 RenderFrameHost* render_frame_host,
106 const GURL& validated_url, 106 const GURL& validated_url,
107 int error_code, 107 int error_code,
108 const base::string16& error_description) override; 108 const base::string16& error_description,
109 bool was_ignored_by_handler) override;
109 110
110 void SetPending(RenderFrameHostImpl* host); 111 void SetPending(RenderFrameHostImpl* host);
111 void CommitPending(); 112 void CommitPending();
112 void DiscardPending(); 113 void DiscardPending();
113 void UpdateProtocolHandlers(RenderFrameHostImpl* host); 114 void UpdateProtocolHandlers(RenderFrameHostImpl* host);
114 115
115 bool IsChildFrame(); 116 bool IsChildFrame();
116 117
117 void OnClientAttached(); 118 void OnClientAttached();
118 void OnClientDetached(); 119 void OnClientDetached();
(...skipping 24 matching lines...) Expand all
143 #endif 144 #endif
144 scoped_ptr<DevToolsProtocolHandler> protocol_handler_; 145 scoped_ptr<DevToolsProtocolHandler> protocol_handler_;
145 bool current_frame_crashed_; 146 bool current_frame_crashed_;
146 147
147 DISALLOW_COPY_AND_ASSIGN(RenderFrameDevToolsAgentHost); 148 DISALLOW_COPY_AND_ASSIGN(RenderFrameDevToolsAgentHost);
148 }; 149 };
149 150
150 } // namespace content 151 } // namespace content
151 152
152 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_ 153 #endif // CONTENT_BROWSER_DEVTOOLS_RENDER_FRAME_DEVTOOLS_AGENT_HOST_H_
OLDNEW
« no previous file with comments | « content/browser/android/web_contents_observer_proxy.cc ('k') | content/browser/devtools/render_frame_devtools_agent_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698