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

Side by Side Diff: webkit/common/user_agent/user_agent_unittest.cc

Issue 15702003: Move webkit/user_agent/ into webkit/common (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 months 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 | « webkit/common/user_agent/user_agent.cc ('k') | webkit/common/user_agent/user_agent_util.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "webkit/user_agent/user_agent.h" 5 #include "webkit/common/user_agent/user_agent.h"
6 6
7 #include <string> 7 #include <string>
8 8
9 #include "googleurl/src/gurl.h" 9 #include "googleurl/src/gurl.h"
10 #include "testing/gtest/include/gtest/gtest.h" 10 #include "testing/gtest/include/gtest/gtest.h"
11 11
12 namespace { 12 namespace {
13 13
14 typedef testing::Test WebkitGlueUserAgentTest; 14 typedef testing::Test WebkitGlueUserAgentTest;
15 15
(...skipping 30 matching lines...) Expand all
46 #endif 46 #endif
47 47
48 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(expected); ++i) { 48 for (size_t i = 0; i < ARRAYSIZE_UNSAFE(expected); ++i) {
49 EXPECT_EQ((expected[i].os_mask & os_bit) != 0, 49 EXPECT_EQ((expected[i].os_mask & os_bit) != 0,
50 IsSpoofedUserAgent( 50 IsSpoofedUserAgent(
51 webkit_glue::GetUserAgent(GURL(expected[i].url)))); 51 webkit_glue::GetUserAgent(GURL(expected[i].url))));
52 } 52 }
53 } 53 }
54 54
55 } // namespace 55 } // namespace
OLDNEW
« no previous file with comments | « webkit/common/user_agent/user_agent.cc ('k') | webkit/common/user_agent/user_agent_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698