| 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 "chrome/browser/browsing_data/browsing_data_helper.h" | 5 #include "chrome/browser/browsing_data/browsing_data_helper.h" |
| 6 | 6 |
| 7 #include "base/macros.h" |
| 7 #include "base/strings/stringprintf.h" | 8 #include "base/strings/stringprintf.h" |
| 8 #include "chrome/common/url_constants.h" | 9 #include "chrome/common/url_constants.h" |
| 9 #include "extensions/common/constants.h" | 10 #include "extensions/common/constants.h" |
| 10 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 11 #include "url/gurl.h" | 12 #include "url/gurl.h" |
| 12 #include "url/url_constants.h" | 13 #include "url/url_constants.h" |
| 13 | 14 |
| 14 #if defined(ENABLE_EXTENSIONS) | 15 #if defined(ENABLE_EXTENSIONS) |
| 15 #include "chrome/browser/extensions/mock_extension_special_storage_policy.h" | 16 #include "chrome/browser/extensions/mock_extension_special_storage_policy.h" |
| 16 #endif | 17 #endif |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 EXPECT_TRUE(Match(kOriginExt, kExtension, nullptr)); | 169 EXPECT_TRUE(Match(kOriginExt, kExtension, nullptr)); |
| 169 EXPECT_FALSE(Match(kOriginExt, kUnprotected, nullptr)); | 170 EXPECT_FALSE(Match(kOriginExt, kUnprotected, nullptr)); |
| 170 EXPECT_FALSE(Match(kOriginExt, kProtected, nullptr)); | 171 EXPECT_FALSE(Match(kOriginExt, kProtected, nullptr)); |
| 171 | 172 |
| 172 EXPECT_FALSE(Match(kOriginDevTools, kExtension, nullptr)); | 173 EXPECT_FALSE(Match(kOriginDevTools, kExtension, nullptr)); |
| 173 EXPECT_FALSE(Match(kOriginDevTools, kUnprotected, nullptr)); | 174 EXPECT_FALSE(Match(kOriginDevTools, kUnprotected, nullptr)); |
| 174 EXPECT_FALSE(Match(kOriginDevTools, kProtected, nullptr)); | 175 EXPECT_FALSE(Match(kOriginDevTools, kProtected, nullptr)); |
| 175 } | 176 } |
| 176 | 177 |
| 177 } // namespace | 178 } // namespace |
| OLD | NEW |