| 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/extensions/api/content_settings/content_settings_store.
h" | 5 #include "chrome/browser/extensions/api/content_settings/content_settings_store.
h" |
| 6 | 6 |
| 7 #include "base/memory/scoped_ptr.h" | 7 #include "base/memory/scoped_ptr.h" |
| 8 #include "chrome/browser/content_settings/content_settings_utils.h" | |
| 9 #include "components/content_settings/core/browser/content_settings_rule.h" | 8 #include "components/content_settings/core/browser/content_settings_rule.h" |
| 9 #include "components/content_settings/core/browser/content_settings_utils.h" |
| 10 #include "testing/gmock/include/gmock/gmock.h" | 10 #include "testing/gmock/include/gmock/gmock.h" |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 12 #include "url/gurl.h" | 12 #include "url/gurl.h" |
| 13 | 13 |
| 14 using ::testing::Mock; | 14 using ::testing::Mock; |
| 15 | 15 |
| 16 namespace extensions { | 16 namespace extensions { |
| 17 | 17 |
| 18 namespace { | 18 namespace { |
| 19 | 19 |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 244 | 244 |
| 245 // Uninstall second extension. | 245 // Uninstall second extension. |
| 246 store()->UnregisterExtension(ext_id_2); | 246 store()->UnregisterExtension(ext_id_2); |
| 247 | 247 |
| 248 GetSettingsForOneTypeFromStore( | 248 GetSettingsForOneTypeFromStore( |
| 249 store(), CONTENT_SETTINGS_TYPE_COOKIES, std::string(), incognito, &rules); | 249 store(), CONTENT_SETTINGS_TYPE_COOKIES, std::string(), incognito, &rules); |
| 250 ASSERT_EQ(0u, rules.size()); | 250 ASSERT_EQ(0u, rules.size()); |
| 251 } | 251 } |
| 252 | 252 |
| 253 } // namespace extensions | 253 } // namespace extensions |
| OLD | NEW |