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

Side by Side Diff: chrome/renderer/net/net_error_helper.cc

Issue 547093002: Return WebLocalFrame from RenderFrame::GetWebFrame(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 #include "chrome/renderer/net/net_error_helper.h" 5 #include "chrome/renderer/net/net_error_helper.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/i18n/rtl.h" 10 #include "base/i18n/rtl.h"
(...skipping 16 matching lines...) Expand all
27 #include "content/public/renderer/render_view.h" 27 #include "content/public/renderer/render_view.h"
28 #include "content/public/renderer/resource_fetcher.h" 28 #include "content/public/renderer/resource_fetcher.h"
29 #include "ipc/ipc_message.h" 29 #include "ipc/ipc_message.h"
30 #include "ipc/ipc_message_macros.h" 30 #include "ipc/ipc_message_macros.h"
31 #include "third_party/WebKit/public/platform/WebURL.h" 31 #include "third_party/WebKit/public/platform/WebURL.h"
32 #include "third_party/WebKit/public/platform/WebURLError.h" 32 #include "third_party/WebKit/public/platform/WebURLError.h"
33 #include "third_party/WebKit/public/platform/WebURLRequest.h" 33 #include "third_party/WebKit/public/platform/WebURLRequest.h"
34 #include "third_party/WebKit/public/platform/WebURLResponse.h" 34 #include "third_party/WebKit/public/platform/WebURLResponse.h"
35 #include "third_party/WebKit/public/web/WebDataSource.h" 35 #include "third_party/WebKit/public/web/WebDataSource.h"
36 #include "third_party/WebKit/public/web/WebDocument.h" 36 #include "third_party/WebKit/public/web/WebDocument.h"
37 #include "third_party/WebKit/public/web/WebFrame.h" 37 #include "third_party/WebKit/public/web/WebLocalFrame.h"
38 #include "third_party/WebKit/public/web/WebView.h" 38 #include "third_party/WebKit/public/web/WebView.h"
39 #include "ui/base/resource/resource_bundle.h" 39 #include "ui/base/resource/resource_bundle.h"
40 #include "ui/base/webui/jstemplate_builder.h" 40 #include "ui/base/webui/jstemplate_builder.h"
41 #include "url/gurl.h" 41 #include "url/gurl.h"
42 42
43 using base::JSONWriter; 43 using base::JSONWriter;
44 using chrome_common_net::DnsProbeStatus; 44 using chrome_common_net::DnsProbeStatus;
45 using chrome_common_net::DnsProbeStatusToString; 45 using chrome_common_net::DnsProbeStatusToString;
46 using content::DocumentState; 46 using content::DocumentState;
47 using content::RenderFrame; 47 using content::RenderFrame;
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 success ? data : "", 341 success ? data : "",
342 render_frame()->GetRenderView()->GetAcceptLanguages(), 342 render_frame()->GetRenderView()->GetAcceptLanguages(),
343 base::i18n::IsRTL()); 343 base::i18n::IsRTL());
344 } 344 }
345 345
346 void NetErrorHelper::OnTrackingRequestComplete( 346 void NetErrorHelper::OnTrackingRequestComplete(
347 const blink::WebURLResponse& response, 347 const blink::WebURLResponse& response,
348 const std::string& data) { 348 const std::string& data) {
349 tracking_fetcher_.reset(); 349 tracking_fetcher_.reset();
350 } 350 }
OLDNEW
« no previous file with comments | « chrome/renderer/extensions/extension_frame_helper.cc ('k') | chrome/renderer/net/net_error_page_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698