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

Side by Side Diff: net/cookies/cookie_store_unittest.h

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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/cookies/cookie_store_test_helpers.cc ('k') | net/cookies/cookie_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 #ifndef NET_BASE_COOKIE_STORE_UNITTEST_H_ 5 #ifndef NET_COOKIES_COOKIE_STORE_UNITTEST_H_
6 #define NET_BASE_COOKIE_STORE_UNITTEST_H_ 6 #define NET_COOKIES_COOKIE_STORE_UNITTEST_H_
7 #pragma once 7 #pragma once
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/message_loop.h" 10 #include "base/message_loop.h"
11 #include "base/string_tokenizer.h" 11 #include "base/string_tokenizer.h"
12 #include "base/threading/thread.h" 12 #include "base/threading/thread.h"
13 #include "googleurl/src/gurl.h" 13 #include "googleurl/src/gurl.h"
14 #include "net/base/cookie_monster.h" 14 #include "net/cookies/cookie_monster.h"
15 #include "net/base/cookie_store.h" 15 #include "net/cookies/cookie_store.h"
16 #include "net/base/cookie_store_test_callbacks.h" 16 #include "net/cookies/cookie_store_test_callbacks.h"
17 #include "testing/gtest/include/gtest/gtest.h" 17 #include "testing/gtest/include/gtest/gtest.h"
18 18
19 // This file declares unittest templates that can be used to test common 19 // This file declares unittest templates that can be used to test common
20 // behavior of any CookieStore implementation. 20 // behavior of any CookieStore implementation.
21 // See cookie_monster_unittest.cc for an example of an implementation. 21 // See cookie_monster_unittest.cc for an example of an implementation.
22 22
23 namespace net { 23 namespace net {
24 24
25 using base::Thread; 25 using base::Thread;
26 26
(...skipping 1018 matching lines...) Expand 10 before | Expand all | Expand 10 after
1045 EXPECT_TRUE(callback.did_run()); 1045 EXPECT_TRUE(callback.did_run());
1046 } 1046 }
1047 1047
1048 REGISTER_TYPED_TEST_CASE_P(MultiThreadedCookieStoreTest, 1048 REGISTER_TYPED_TEST_CASE_P(MultiThreadedCookieStoreTest,
1049 ThreadCheckGetCookies, ThreadCheckGetCookiesWithOptions, 1049 ThreadCheckGetCookies, ThreadCheckGetCookiesWithOptions,
1050 ThreadCheckGetCookiesWithInfo, ThreadCheckSetCookieWithOptions, 1050 ThreadCheckGetCookiesWithInfo, ThreadCheckSetCookieWithOptions,
1051 ThreadCheckDeleteCookie); 1051 ThreadCheckDeleteCookie);
1052 1052
1053 } // namespace net 1053 } // namespace net
1054 1054
1055 #endif // NET_BASE_COOKIE_STORE_UNITTEST_H_ 1055 #endif // NET_COOKIES_COOKIE_STORE_UNITTEST_H_
OLDNEW
« no previous file with comments | « net/cookies/cookie_store_test_helpers.cc ('k') | net/cookies/cookie_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698