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

Side by Side Diff: net/base/fixed_host_resolver.h

Issue 556094: Add fine grain tracing to HostResolverImpl.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Add explicit to ctors Created 10 years, 10 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
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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 NET_BASE_FIXED_HOST_RESOLVER_H_ 5 #ifndef NET_BASE_FIXED_HOST_RESOLVER_H_
6 #define NET_BASE_FIXED_HOST_RESOLVER_H_ 6 #define NET_BASE_FIXED_HOST_RESOLVER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "net/base/address_list.h" 10 #include "net/base/address_list.h"
(...skipping 10 matching lines...) Expand all
21 21
22 // HostResolver methods: 22 // HostResolver methods:
23 virtual int Resolve(const RequestInfo& info, 23 virtual int Resolve(const RequestInfo& info,
24 AddressList* addresses, 24 AddressList* addresses,
25 CompletionCallback* callback, 25 CompletionCallback* callback,
26 RequestHandle* out_req, 26 RequestHandle* out_req,
27 LoadLog* load_log); 27 LoadLog* load_log);
28 virtual void CancelRequest(RequestHandle req) {} 28 virtual void CancelRequest(RequestHandle req) {}
29 virtual void AddObserver(Observer* observer) {} 29 virtual void AddObserver(Observer* observer) {}
30 virtual void RemoveObserver(Observer* observer) {} 30 virtual void RemoveObserver(Observer* observer) {}
31 virtual HostCache* GetHostCache() { return NULL; }
32 virtual void Shutdown() {} 31 virtual void Shutdown() {}
33 32
34 private: 33 private:
35 ~FixedHostResolver() {} 34 ~FixedHostResolver() {}
36 35
37 AddressList address_; 36 AddressList address_;
38 bool initialized_; 37 bool initialized_;
39 }; 38 };
40 39
41 } // namespace net 40 } // namespace net
42 41
43 #endif // NET_BASE_MOCK_HOST_RESOLVER_H_ 42 #endif // NET_BASE_MOCK_HOST_RESOLVER_H_
OLDNEW
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | net/base/host_resolver.h » ('j') | net/base/host_resolver.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698