summaryrefslogtreecommitdiffstats
path: root/net/base/request_priority.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/base/request_priority.h')
-rw-r--r--net/base/request_priority.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/base/request_priority.h b/net/base/request_priority.h
index ca7a1ec..ca454bf 100644
--- a/net/base/request_priority.h
+++ b/net/base/request_priority.h
@@ -1,4 +1,6 @@
// Copyright (c) 2009 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.
@@ -6,6 +8,8 @@
#define NET_BASE_REQUEST_PRIORITY_H__
#pragma once
+#include "webkit/glue/resource_type.h"
+
namespace net {
// Prioritization used in various parts of the networking code such
@@ -19,6 +23,8 @@ enum RequestPriority {
NUM_PRIORITIES,
};
+RequestPriority DetermineRequestPriority(ResourceType::Type type);
+
} // namespace net
#endif // NET_BASE_REQUEST_PRIORITY_H__