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

Side by Side Diff: android_webview/browser/net/aw_cookie_store_wrapper_unittest.cc

Issue 2898953008: Implement and test CanonicalCookie::IsCanonical() (Closed)
Patch Set: Removed vestigial code. Created 3 years, 6 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 | « no previous file | ios/net/cookies/cookie_store_ios_persistent_unittest.mm » ('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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "android_webview/browser/net/aw_cookie_store_wrapper.h" 5 #include "android_webview/browser/net/aw_cookie_store_wrapper.h"
6 6
7 #include <memory> 7 #include <memory>
8 8
9 #include "net/cookies/cookie_store.h" 9 #include "net/cookies/cookie_store.h"
10 #include "net/cookies/cookie_store_test_callbacks.h" 10 #include "net/cookies/cookie_store_test_callbacks.h"
(...skipping 16 matching lines...) Expand all
27 callback.WaitUntilDone(); 27 callback.WaitUntilDone();
28 28
29 return cookie_store; 29 return cookie_store;
30 } 30 }
31 31
32 static const bool supports_http_only = true; 32 static const bool supports_http_only = true;
33 static const bool supports_non_dotted_domains = true; 33 static const bool supports_non_dotted_domains = true;
34 static const bool preserves_trailing_dots = true; 34 static const bool preserves_trailing_dots = true;
35 static const bool filters_schemes = true; 35 static const bool filters_schemes = true;
36 static const bool has_path_prefix_bug = false; 36 static const bool has_path_prefix_bug = false;
37 static const bool forbids_setting_empty_name = false;
37 static const int creation_time_granularity_in_ms = 0; 38 static const int creation_time_granularity_in_ms = 0;
38 }; 39 };
39 40
40 } // namespace android_webview 41 } // namespace android_webview
41 42
42 // Run the standard cookie tests with AwCookieStoreWrapper. Macro must be in 43 // Run the standard cookie tests with AwCookieStoreWrapper. Macro must be in
43 // net namespace. 44 // net namespace.
44 namespace net { 45 namespace net {
45 INSTANTIATE_TYPED_TEST_CASE_P(AwCookieStoreWrapper, 46 INSTANTIATE_TYPED_TEST_CASE_P(AwCookieStoreWrapper,
46 CookieStoreTest, 47 CookieStoreTest,
47 android_webview::AwCookieStoreWrapperTestTraits); 48 android_webview::AwCookieStoreWrapperTestTraits);
48 } // namespace net 49 } // namespace net
OLDNEW
« no previous file with comments | « no previous file | ios/net/cookies/cookie_store_ios_persistent_unittest.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698