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

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

Issue 16109004: Update refernces to Blink's Platform API (chrome) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 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 | Annotate | Revision Log
« no previous file with comments | « chrome/renderer/frame_sniffer.cc ('k') | chrome/renderer/net/prescient_networking_dispatcher.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "base/values.h" 7 #include "base/values.h"
8 #include "chrome/common/localized_error.h" 8 #include "chrome/common/localized_error.h"
9 #include "chrome/common/render_messages.h" 9 #include "chrome/common/render_messages.h"
10 #include "chrome/common/net/net_error_info.h" 10 #include "chrome/common/net/net_error_info.h"
11 #include "content/public/common/content_client.h" 11 #include "content/public/common/content_client.h"
12 #include "content/public/common/url_constants.h" 12 #include "content/public/common/url_constants.h"
13 #include "content/public/renderer/content_renderer_client.h" 13 #include "content/public/renderer/content_renderer_client.h"
14 #include "content/public/renderer/render_thread.h" 14 #include "content/public/renderer/render_thread.h"
15 #include "content/public/renderer/render_view.h" 15 #include "content/public/renderer/render_view.h"
16 #include "googleurl/src/gurl.h" 16 #include "googleurl/src/gurl.h"
17 #include "ipc/ipc_message.h" 17 #include "ipc/ipc_message.h"
18 #include "ipc/ipc_message_macros.h" 18 #include "ipc/ipc_message_macros.h"
19 #include "net/base/net_errors.h" 19 #include "net/base/net_errors.h"
20 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" 20 #include "third_party/WebKit/public/platform/WebURL.h"
21 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLError.h" 21 #include "third_party/WebKit/public/platform/WebURLError.h"
22 #include "third_party/WebKit/Source/Platform/chromium/public/WebURLRequest.h" 22 #include "third_party/WebKit/public/platform/WebURLRequest.h"
23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h" 23 #include "third_party/WebKit/Source/WebKit/chromium/public/WebDataSource.h"
24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" 24 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
25 25
26 using base::DictionaryValue; 26 using base::DictionaryValue;
27 using chrome_common_net::DnsProbeResult; 27 using chrome_common_net::DnsProbeResult;
28 using content::RenderThread; 28 using content::RenderThread;
29 using content::RenderView; 29 using content::RenderView;
30 using content::RenderViewObserver; 30 using content::RenderViewObserver;
31 using content::kUnreachableWebDataURL; 31 using content::kUnreachableWebDataURL;
32 32
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 DVLOG(1) << "net error code is " << net_error; 182 DVLOG(1) << "net error code is " << net_error;
183 183
184 DictionaryValue error_strings; 184 DictionaryValue error_strings;
185 LocalizedError::GetStrings(NetErrorToWebURLError(net_error), 185 LocalizedError::GetStrings(NetErrorToWebURLError(net_error),
186 is_failed_post_, 186 is_failed_post_,
187 RenderThread::Get()->GetLocale(), 187 RenderThread::Get()->GetLocale(),
188 &error_strings); 188 &error_strings);
189 189
190 // TODO(ttuttle): Update error page with error_strings. 190 // TODO(ttuttle): Update error page with error_strings.
191 } 191 }
OLDNEW
« no previous file with comments | « chrome/renderer/frame_sniffer.cc ('k') | chrome/renderer/net/prescient_networking_dispatcher.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698