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

Unified Diff: net/base/cookie_util_unittest.cc

Issue 9703011: Move the cookie store implementation into its own directory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: net/base/cookies/ -> net/cookies/ Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/base/cookie_util.cc ('k') | net/cookies/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/cookie_util_unittest.cc
diff --git a/net/base/cookie_util_unittest.cc b/net/base/cookie_util_unittest.cc
deleted file mode 100644
index 4c3db807e8f0d2dcdf034f37967ba467bdadc5ce..0000000000000000000000000000000000000000
--- a/net/base/cookie_util_unittest.cc
+++ /dev/null
@@ -1,23 +0,0 @@
-// Copyright (c) 2012 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 "base/basictypes.h"
-#include "net/base/cookie_util.h"
-#include "testing/gtest/include/gtest/gtest.h"
-
-TEST(CookieUtilTest, TestDomainIsHostOnly) {
- const struct {
- const char* str;
- const bool is_host_only;
- } tests[] = {
- { "", true },
- { "www.google.com", true },
- { ".google.com", false }
- };
-
- for (size_t i = 0; i < ARRAYSIZE_UNSAFE(tests); ++i) {
- EXPECT_EQ(tests[i].is_host_only,
- net::cookie_util::DomainIsHostOnly(tests[i].str));
- }
-}
« no previous file with comments | « net/base/cookie_util.cc ('k') | net/cookies/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698