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

Side by Side Diff: components/network_hints/renderer/renderer_dns_prefetch.cc

Issue 1970833002: Fix include path for moved thread_task_runner_handle.h header in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: merge up to r393009 Created 4 years, 7 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 // See header file for description of RendererDnsPrefetch class 5 // See header file for description of RendererDnsPrefetch class
6 6
7 #include "components/network_hints/renderer/renderer_dns_prefetch.h" 7 #include "components/network_hints/renderer/renderer_dns_prefetch.h"
8 8
9 #include <ctype.h> 9 #include <ctype.h>
10 10
11 #include "base/bind.h" 11 #include "base/bind.h"
12 #include "base/location.h" 12 #include "base/location.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/message_loop/message_loop.h" 14 #include "base/message_loop/message_loop.h"
15 #include "base/thread_task_runner_handle.h" 15 #include "base/threading/thread_task_runner_handle.h"
16 #include "components/network_hints/common/network_hints_common.h" 16 #include "components/network_hints/common/network_hints_common.h"
17 #include "components/network_hints/common/network_hints_messages.h" 17 #include "components/network_hints/common/network_hints_messages.h"
18 #include "components/network_hints/renderer/dns_prefetch_queue.h" 18 #include "components/network_hints/renderer/dns_prefetch_queue.h"
19 #include "content/public/renderer/render_thread.h" 19 #include "content/public/renderer/render_thread.h"
20 20
21 using content::RenderThread; 21 using content::RenderThread;
22 22
23 namespace network_hints { 23 namespace network_hints {
24 24
25 RendererDnsPrefetch::RendererDnsPrefetch() 25 RendererDnsPrefetch::RendererDnsPrefetch()
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 // Scan for a character outside our lookup list. 163 // Scan for a character outside our lookup list.
164 while (length-- > 0) { 164 while (length-- > 0) {
165 if (!isdigit(*name) && '.' != *name) 165 if (!isdigit(*name) && '.' != *name)
166 return false; 166 return false;
167 ++name; 167 ++name;
168 } 168 }
169 return true; 169 return true;
170 } 170 }
171 171
172 } // namespace predictor 172 } // namespace predictor
OLDNEW
« no previous file with comments | « components/nacl/renderer/ppb_nacl_private_impl.cc ('k') | components/ntp_snippets/ntp_snippets_fetcher_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698