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

Side by Side Diff: net/dns/dns_transaction.h

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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
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 #ifndef NET_DNS_DNS_TRANSACTION_H_ 5 #ifndef NET_DNS_DNS_TRANSACTION_H_
6 #define NET_DNS_DNS_TRANSACTION_H_ 6 #define NET_DNS_DNS_TRANSACTION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 // The transaction will run |callback| upon asynchronous completion. 61 // The transaction will run |callback| upon asynchronous completion.
62 // The |net_log| is used as the parent log. 62 // The |net_log| is used as the parent log.
63 virtual scoped_ptr<DnsTransaction> CreateTransaction( 63 virtual scoped_ptr<DnsTransaction> CreateTransaction(
64 const std::string& hostname, 64 const std::string& hostname,
65 uint16 qtype, 65 uint16 qtype,
66 const CallbackType& callback, 66 const CallbackType& callback,
67 const BoundNetLog& net_log) WARN_UNUSED_RESULT = 0; 67 const BoundNetLog& net_log) WARN_UNUSED_RESULT = 0;
68 68
69 // Creates a DnsTransactionFactory which creates DnsTransactionImpl using the 69 // Creates a DnsTransactionFactory which creates DnsTransactionImpl using the
70 // |session|. 70 // |session|.
71 static scoped_ptr<DnsTransactionFactory> CreateFactory( 71 static scoped_ptr<DnsTransactionFactory> CreateFactory(DnsSession* session)
72 DnsSession* session) WARN_UNUSED_RESULT; 72 WARN_UNUSED_RESULT;
73 }; 73 };
74 74
75 } // namespace net 75 } // namespace net
76 76
77 #endif // NET_DNS_DNS_TRANSACTION_H_ 77 #endif // NET_DNS_DNS_TRANSACTION_H_
78
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698