| 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/common/extensions/api/extension_action/action_info.h" | 5 #include "chrome/common/extensions/api/extension_action/action_info.h" |
| 6 #include "chrome/common/extensions/extension.h" | |
| 7 #include "chrome/common/extensions/extension_constants.h" | 6 #include "chrome/common/extensions/extension_constants.h" |
| 8 #include "chrome/common/extensions/manifest_tests/extension_manifest_test.h" | 7 #include "chrome/common/extensions/manifest_tests/extension_manifest_test.h" |
| 9 #include "extensions/common/error_utils.h" | 8 #include "extensions/common/error_utils.h" |
| 9 #include "extensions/common/extension.h" |
| 10 #include "extensions/common/manifest_constants.h" | 10 #include "extensions/common/manifest_constants.h" |
| 11 #include "testing/gtest/include/gtest/gtest.h" | 11 #include "testing/gtest/include/gtest/gtest.h" |
| 12 | 12 |
| 13 namespace extensions { | 13 namespace extensions { |
| 14 | 14 |
| 15 namespace errors = manifest_errors; | 15 namespace errors = manifest_errors; |
| 16 namespace keys = manifest_keys; | 16 namespace keys = manifest_keys; |
| 17 | 17 |
| 18 class PageActionManifestTest : public ExtensionManifestTest { | 18 class PageActionManifestTest : public ExtensionManifestTest { |
| 19 protected: | 19 protected: |
| (...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 action = LoadAction("page_action_empty_popup.json"); | 158 action = LoadAction("page_action_empty_popup.json"); |
| 159 | 159 |
| 160 ASSERT_TRUE(action); | 160 ASSERT_TRUE(action); |
| 161 EXPECT_TRUE(action->default_popup_url.is_empty()); | 161 EXPECT_TRUE(action->default_popup_url.is_empty()); |
| 162 ASSERT_STREQ( | 162 ASSERT_STREQ( |
| 163 "", | 163 "", |
| 164 action->default_popup_url.spec().c_str()); | 164 action->default_popup_url.spec().c_str()); |
| 165 } | 165 } |
| 166 | 166 |
| 167 } // namespace extensions | 167 } // namespace extensions |
| OLD | NEW |