OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 "base/strings/utf_string_conversions.h" | 5 #include "base/strings/utf_string_conversions.h" |
6 #include "chrome/common/extensions/manifest_handlers/automation.h" | 6 #include "chrome/common/extensions/manifest_handlers/automation.h" |
7 #include "chrome/common/extensions/manifest_tests/extension_manifest_test.h" | 7 #include "chrome/common/extensions/manifest_tests/extension_manifest_test.h" |
| 8 #include "chrome/grit/generated_resources.h" |
8 #include "extensions/common/error_utils.h" | 9 #include "extensions/common/error_utils.h" |
9 #include "extensions/common/manifest_constants.h" | 10 #include "extensions/common/manifest_constants.h" |
10 #include "extensions/common/permissions/permissions_data.h" | 11 #include "extensions/common/permissions/permissions_data.h" |
11 #include "grit/extensions_strings.h" | 12 #include "extensions/strings/grit/extensions_strings.h" |
12 #include "grit/generated_resources.h" | |
13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
14 #include "ui/base/l10n/l10n_util.h" | 14 #include "ui/base/l10n/l10n_util.h" |
15 | 15 |
16 namespace extensions { | 16 namespace extensions { |
17 | 17 |
18 class AutomationManifestTest : public ExtensionManifestTest { | 18 class AutomationManifestTest : public ExtensionManifestTest { |
19 public: | 19 public: |
20 AutomationManifestTest() : channel_(chrome::VersionInfo::CHANNEL_UNKNOWN) {} | 20 AutomationManifestTest() : channel_(chrome::VersionInfo::CHANNEL_UNKNOWN) {} |
21 | 21 |
22 protected: | 22 protected: |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 | 272 |
273 const AutomationInfo* info = AutomationInfo::Get(extension.get()); | 273 const AutomationInfo* info = AutomationInfo::Get(extension.get()); |
274 ASSERT_TRUE(info); | 274 ASSERT_TRUE(info); |
275 | 275 |
276 EXPECT_TRUE(info->desktop); | 276 EXPECT_TRUE(info->desktop); |
277 EXPECT_TRUE(info->interact); | 277 EXPECT_TRUE(info->interact); |
278 EXPECT_TRUE(info->matches.is_empty()); | 278 EXPECT_TRUE(info->matches.is_empty()); |
279 } | 279 } |
280 | 280 |
281 } // namespace extensions | 281 } // namespace extensions |
OLD | NEW |