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

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

Issue 895853003: Update from https://crrev.com/314320 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « net/cookies/cookie_monster_unittest.cc ('k') | net/cookies/cookie_util.cc » ('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_COOKIES_COOKIE_STORE_UNITTEST_H_ 5 #ifndef NET_COOKIES_COOKIE_STORE_UNITTEST_H_
6 #define NET_COOKIES_COOKIE_STORE_UNITTEST_H_ 6 #define NET_COOKIES_COOKIE_STORE_UNITTEST_H_
7 7
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/message_loop/message_loop.h" 9 #include "base/message_loop/message_loop.h"
10 #include "base/strings/string_tokenizer.h" 10 #include "base/strings/string_tokenizer.h"
(...skipping 12 matching lines...) Expand all
23 23
24 using base::Thread; 24 using base::Thread;
25 25
26 const int kTimeout = 1000; 26 const int kTimeout = 1000;
27 27
28 const char kUrlFtp[] = "ftp://ftp.google.izzle/"; 28 const char kUrlFtp[] = "ftp://ftp.google.izzle/";
29 const char kUrlGoogle[] = "http://www.google.izzle"; 29 const char kUrlGoogle[] = "http://www.google.izzle";
30 const char kUrlGoogleFoo[] = "http://www.google.izzle/foo"; 30 const char kUrlGoogleFoo[] = "http://www.google.izzle/foo";
31 const char kUrlGoogleBar[] = "http://www.google.izzle/bar"; 31 const char kUrlGoogleBar[] = "http://www.google.izzle/bar";
32 const char kUrlGoogleSecure[] = "https://www.google.izzle"; 32 const char kUrlGoogleSecure[] = "https://www.google.izzle";
33 const char kUrlGoogleWebSocket[] = "ws://www.google.izzle";
34 const char kUrlGoogleWebSocketSecure[] = "wss://www.google.izzle";
33 const char kValidCookieLine[] = "A=B; path=/"; 35 const char kValidCookieLine[] = "A=B; path=/";
34 const char kValidDomainCookieLine[] = "A=B; path=/; domain=google.izzle"; 36 const char kValidDomainCookieLine[] = "A=B; path=/; domain=google.izzle";
35 37
36 // The CookieStoreTestTraits must have the following members: 38 // The CookieStoreTestTraits must have the following members:
37 // struct CookieStoreTestTraits { 39 // struct CookieStoreTestTraits {
38 // // Factory function. 40 // // Factory function.
39 // static scoped_refptr<CookieStore> Create(); 41 // static scoped_refptr<CookieStore> Create();
40 // 42 //
41 // // The cookie store is a CookieMonster. Only used to test 43 // // The cookie store is a CookieMonster. Only used to test
42 // // GetCookieMonster(). 44 // // GetCookieMonster().
(...skipping 1154 matching lines...) Expand 10 before | Expand all | Expand 10 after
1197 REGISTER_TYPED_TEST_CASE_P(MultiThreadedCookieStoreTest, 1199 REGISTER_TYPED_TEST_CASE_P(MultiThreadedCookieStoreTest,
1198 ThreadCheckGetCookies, 1200 ThreadCheckGetCookies,
1199 ThreadCheckGetCookiesWithOptions, 1201 ThreadCheckGetCookiesWithOptions,
1200 ThreadCheckSetCookieWithOptions, 1202 ThreadCheckSetCookieWithOptions,
1201 ThreadCheckDeleteCookie, 1203 ThreadCheckDeleteCookie,
1202 ThreadCheckDeleteSessionCookies); 1204 ThreadCheckDeleteSessionCookies);
1203 1205
1204 } // namespace net 1206 } // namespace net
1205 1207
1206 #endif // NET_COOKIES_COOKIE_STORE_UNITTEST_H_ 1208 #endif // NET_COOKIES_COOKIE_STORE_UNITTEST_H_
OLDNEW
« no previous file with comments | « net/cookies/cookie_monster_unittest.cc ('k') | net/cookies/cookie_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698