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

Unified Diff: net/base/rand_callback.h

Issue 7276014: DnsQuery: changed raw function pointer to callback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Got rid of unnecessary include. Created 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/dns_response_unittest.cc ('k') | net/net.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/rand_callback.h
diff --git a/net/base/rand_callback.h b/net/base/rand_callback.h
new file mode 100644
index 0000000000000000000000000000000000000000..894b0206827e1421f0a72f729f9b5a383db86038
--- /dev/null
+++ b/net/base/rand_callback.h
@@ -0,0 +1,17 @@
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef NET_BASE_RAND_CALLBACK_H_
+#define NET_BASE_RAND_CALLBACK_H_
+#pragma once
+
+#include "base/callback.h"
+
+namespace net {
+
+typedef base::Callback<int(int, int)> RandIntCallback;
+
+} // namespace net
+
+#endif // NET_BASE_RAND_CALLBACK_H_
« no previous file with comments | « net/base/dns_response_unittest.cc ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698