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_helper.h" | 5 #include "chrome/browser/browsing_data/browsing_data_helper.h" |
6 | 6 |
7 #include "base/stringprintf.h" | 7 #include "base/stringprintf.h" |
8 #include "chrome/browser/extensions/mock_extension_special_storage_policy.h" | 8 #include "chrome/browser/extensions/mock_extension_special_storage_policy.h" |
9 #include "chrome/common/url_constants.h" | 9 #include "chrome/common/url_constants.h" |
10 #include "content/public/common/url_constants.h" | 10 #include "content/public/common/url_constants.h" |
11 #include "googleurl/src/gurl.h" | 11 #include "googleurl/src/gurl.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" | 13 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebString.h" |
14 | 14 |
15 namespace { | 15 namespace { |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 mock_policy)); | 150 mock_policy)); |
151 EXPECT_TRUE(Match(kOrigin2, kUnprotected | kProtected | kExtension, | 151 EXPECT_TRUE(Match(kOrigin2, kUnprotected | kProtected | kExtension, |
152 mock_policy)); | 152 mock_policy)); |
153 EXPECT_TRUE(Match(kOriginExt, kUnprotected | kProtected | kExtension, | 153 EXPECT_TRUE(Match(kOriginExt, kUnprotected | kProtected | kExtension, |
154 mock_policy)); | 154 mock_policy)); |
155 EXPECT_FALSE(Match(kOriginDevTools, kUnprotected | kProtected | kExtension, | 155 EXPECT_FALSE(Match(kOriginDevTools, kUnprotected | kProtected | kExtension, |
156 mock_policy)); | 156 mock_policy)); |
157 } | 157 } |
158 | 158 |
159 } // namespace | 159 } // namespace |
OLD | NEW |