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

Unified Diff: content/common/referrer_unittest.cc

Issue 8690007: Revert 111566 - Breaks compile on win dbg. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: revert Created 9 years, 1 month 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 | « no previous file | content/content_common.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/referrer_unittest.cc
diff --git a/content/common/referrer_unittest.cc b/content/common/referrer_unittest.cc
deleted file mode 100644
index f8c2c851a415703c4a051752293d5beb954ddf63..0000000000000000000000000000000000000000
--- a/content/common/referrer_unittest.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-// 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.
-
-#include "testing/gtest/include/gtest/gtest.h"
-
-#include "content/public/common/referrer.h"
-
-namespace {
-
-const char* kTestURL = "http://google.com/";
-
-// Check that copying Referrer objects works.
-TEST(ReferrerTest, Copy) {
- content::Referrer r1(GURL(kTestURL), WebKit::WebReferrerPolicyAlways);
- content::Referrer r2;
-
- r2 = r1;
- EXPECT_EQ(GURL(kTestURL), r2.url);
- EXPECT_EQ(WebKit::WebReferrerPolicyAlways, r2.policy);
-}
-
-} // namespace
« no previous file with comments | « no previous file | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698