summaryrefslogtreecommitdiffstats
path: root/chrome/browser/net/preconnect.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/net/preconnect.h')
-rw-r--r--chrome/browser/net/preconnect.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/chrome/browser/net/preconnect.h b/chrome/browser/net/preconnect.h
index 056d5d6..0d7ed21 100644
--- a/chrome/browser/net/preconnect.h
+++ b/chrome/browser/net/preconnect.h
@@ -1,23 +1,18 @@
// Copyright (c) 2011 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011, Code Aurora Forum. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-// A Preconnect instance maintains state while a TCP/IP connection is made, and
-// and then released into the pool of available connections for future use.
-
#ifndef CHROME_BROWSER_NET_PRECONNECT_H_
#define CHROME_BROWSER_NET_PRECONNECT_H_
#pragma once
-#include "chrome/browser/net/url_info.h"
+#include "net/http/preconnect.h"
-class GURL;
+#include "chrome/browser/net/url_info.h"
namespace chrome_browser_net {
-// Try to preconnect. Typically motivated by OMNIBOX to reach search service.
-// |count| may be used to request more than one connection be established in
-// parallel.
void PreconnectOnUIThread(const GURL& url,
UrlInfo::ResolutionMotivation motivation,
int count);
@@ -28,7 +23,6 @@ void PreconnectOnUIThread(const GURL& url,
void PreconnectOnIOThread(const GURL& url,
UrlInfo::ResolutionMotivation motivation,
int count);
-
} // namespace chrome_browser_net
#endif // CHROME_BROWSER_NET_PRECONNECT_H_