| OLD | NEW |
| 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 <stdint.h> | 5 #include <stdint.h> |
| 6 #include "base/strings/sys_string_conversions.h" | 6 #include "base/strings/sys_string_conversions.h" |
| 7 #include "base/time/time.h" | 7 #include "base/time/time.h" |
| 8 #import "chrome/browser/ui/cocoa/cocoa_test_helper.h" | 8 #import "chrome/browser/ui/cocoa/test/cocoa_test_helper.h" |
| 9 | 9 |
| 10 #include "chrome/browser/ui/cocoa/content_settings/cookie_details.h" | 10 #include "chrome/browser/ui/cocoa/content_settings/cookie_details.h" |
| 11 #include "net/cookies/canonical_cookie.h" | 11 #include "net/cookies/canonical_cookie.h" |
| 12 #include "net/cookies/cookie_options.h" | 12 #include "net/cookies/cookie_options.h" |
| 13 #import "testing/gtest_mac.h" | 13 #import "testing/gtest_mac.h" |
| 14 #include "url/gurl.h" | 14 #include "url/gurl.h" |
| 15 | 15 |
| 16 namespace { | 16 namespace { |
| 17 | 17 |
| 18 class CookiesDetailsTest : public CocoaTest { | 18 class CookiesDetailsTest : public CocoaTest { |
| (...skipping 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 EXPECT_FALSE([details.get() shouldShowDatabaseTreeDetailsView]); | 305 EXPECT_FALSE([details.get() shouldShowDatabaseTreeDetailsView]); |
| 306 EXPECT_FALSE([details.get() shouldShowAppCacheTreeDetailsView]); | 306 EXPECT_FALSE([details.get() shouldShowAppCacheTreeDetailsView]); |
| 307 EXPECT_FALSE([details.get() shouldShowIndexedDBTreeDetailsView]); | 307 EXPECT_FALSE([details.get() shouldShowIndexedDBTreeDetailsView]); |
| 308 EXPECT_FALSE([details.get() shouldShowLocalStoragePromptDetailsView]); | 308 EXPECT_FALSE([details.get() shouldShowLocalStoragePromptDetailsView]); |
| 309 EXPECT_FALSE([details.get() shouldShowDatabasePromptDetailsView]); | 309 EXPECT_FALSE([details.get() shouldShowDatabasePromptDetailsView]); |
| 310 EXPECT_FALSE([details.get() shouldShowAppCachePromptDetailsView]); | 310 EXPECT_FALSE([details.get() shouldShowAppCachePromptDetailsView]); |
| 311 EXPECT_FALSE([details.get() shouldShowServiceWorkerTreeDetailsView]); | 311 EXPECT_FALSE([details.get() shouldShowServiceWorkerTreeDetailsView]); |
| 312 EXPECT_TRUE([details.get() shouldShowCacheStorageTreeDetailsView]); | 312 EXPECT_TRUE([details.get() shouldShowCacheStorageTreeDetailsView]); |
| 313 } | 313 } |
| 314 } | 314 } |
| OLD | NEW |