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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/content_common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include "testing/gtest/include/gtest/gtest.h"
6
7 #include "content/public/common/referrer.h"
8
9 namespace {
10
11 const char* kTestURL = "http://google.com/";
12
13 // Check that copying Referrer objects works.
14 TEST(ReferrerTest, Copy) {
15 content::Referrer r1(GURL(kTestURL), WebKit::WebReferrerPolicyAlways);
16 content::Referrer r2;
17
18 r2 = r1;
19 EXPECT_EQ(GURL(kTestURL), r2.url);
20 EXPECT_EQ(WebKit::WebReferrerPolicyAlways, r2.policy);
21 }
22
23 } // namespace
OLDNEW
« 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