Index: content/common/referrer.cc |
diff --git a/content/common/referrer.cc b/content/common/referrer.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..f64226fc4f8b65e426dfb6c2aa842d99ad47fb2e |
--- /dev/null |
+++ b/content/common/referrer.cc |
@@ -0,0 +1,21 @@ |
+// Copyright (c) 2011 The Chromium Authors. All rights reserved. |
jam
2011/11/24 21:17:35
nit: we put files holding constructor/destructor o
jochen (gone - plz use gerrit)
2011/11/24 23:02:40
Done.
|
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "content/public/common/referrer.h" |
+ |
+using WebKit::WebReferrerPolicy; |
+ |
+namespace content { |
+ |
+Referrer::Referrer(const GURL& url, |
+ WebReferrerPolicy policy) |
+ : url_(url), |
+ policy_(policy) { |
+} |
+ |
+Referrer::Referrer() |
+ : policy_(WebKit::WebReferrerPolicyDefault) { |
+} |
+ |
+} // namespace |