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

Side by Side Diff: ppapi/shared_impl/private/ppb_host_resolver_shared.cc

Issue 10387107: Cleanup: Remove unneeded scoped_ptr.h includes from ppapi, printing, remoting, and sync. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 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 | Annotate | Revision Log
« no previous file with comments | « ppapi/shared_impl/private/ppb_host_resolver_shared.h ('k') | ppapi/shared_impl/var.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) 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 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h" 5 #include "ppapi/shared_impl/private/ppb_host_resolver_shared.h"
6 6
7 #include <cstddef> 7 #include <cstddef>
8 #include <cstring> 8 #include <cstring>
9 9
10 #include "base/memory/scoped_ptr.h"
10 #include "net/base/address_list.h" 11 #include "net/base/address_list.h"
11 #include "ppapi/c/pp_errors.h" 12 #include "ppapi/c/pp_errors.h"
12 #include "ppapi/shared_impl/private/net_address_private_impl.h" 13 #include "ppapi/shared_impl/private/net_address_private_impl.h"
13 #include "ppapi/shared_impl/var.h" 14 #include "ppapi/shared_impl/var.h"
14 #include "ppapi/thunk/thunk.h" 15 #include "ppapi/thunk/thunk.h"
15 16
16 namespace ppapi { 17 namespace ppapi {
17 18
18 NetAddressList* CreateNetAddressListFromAddressList( 19 NetAddressList* CreateNetAddressListFromAddressList(
19 const net::AddressList& list) { 20 const net::AddressList& list) {
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 uint32 PPB_HostResolver_Shared::GenerateHostResolverID() { 108 uint32 PPB_HostResolver_Shared::GenerateHostResolverID() {
108 static uint32 host_resolver_id = 0; 109 static uint32 host_resolver_id = 0;
109 return host_resolver_id++; 110 return host_resolver_id++;
110 } 111 }
111 112
112 bool PPB_HostResolver_Shared::ResolveInProgress() const { 113 bool PPB_HostResolver_Shared::ResolveInProgress() const {
113 return TrackedCallback::IsPending(resolve_callback_); 114 return TrackedCallback::IsPending(resolve_callback_);
114 } 115 }
115 116
116 } // namespace ppapi 117 } // namespace ppapi
OLDNEW
« no previous file with comments | « ppapi/shared_impl/private/ppb_host_resolver_shared.h ('k') | ppapi/shared_impl/var.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698