| 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 "base/strings/string_number_conversions.h" | 5 #include "base/strings/string_number_conversions.h" |
| 6 #include "chrome/browser/chromeos/extensions/file_browser_handler.h" | 6 #include "chrome/browser/chromeos/extensions/file_manager/file_browser_handler.h
" |
| 7 #include "chrome/common/extensions/extension_builder.h" | 7 #include "chrome/common/extensions/extension_builder.h" |
| 8 #include "chrome/common/extensions/extension_manifest_constants.h" | 8 #include "chrome/common/extensions/extension_manifest_constants.h" |
| 9 #include "chrome/common/extensions/manifest_tests/extension_manifest_test.h" | 9 #include "chrome/common/extensions/manifest_tests/extension_manifest_test.h" |
| 10 #include "chrome/common/extensions/manifest_url_handler.h" | 10 #include "chrome/common/extensions/manifest_url_handler.h" |
| 11 #include "chrome/common/extensions/value_builder.h" | 11 #include "chrome/common/extensions/value_builder.h" |
| 12 #include "extensions/common/error_utils.h" | 12 #include "extensions/common/error_utils.h" |
| 13 #include "testing/gtest/include/gtest/gtest.h" | 13 #include "testing/gtest/include/gtest/gtest.h" |
| 14 | 14 |
| 15 namespace errors = extension_manifest_errors; | 15 namespace errors = extension_manifest_errors; |
| 16 | 16 |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 LoadExtension(Manifest(manifest_value.get(), "override_files"), | 174 LoadExtension(Manifest(manifest_value.get(), "override_files"), |
| 175 &error, extensions::Manifest::COMPONENT, Extension::NO_FLAGS); | 175 &error, extensions::Manifest::COMPONENT, Extension::NO_FLAGS); |
| 176 #if defined(FILE_MANAGER_EXTENSION) | 176 #if defined(FILE_MANAGER_EXTENSION) |
| 177 EXPECT_EQ("", error); | 177 EXPECT_EQ("", error); |
| 178 #else | 178 #else |
| 179 EXPECT_EQ(std::string(errors::kInvalidChromeURLOverrides), error); | 179 EXPECT_EQ(std::string(errors::kInvalidChromeURLOverrides), error); |
| 180 #endif | 180 #endif |
| 181 } | 181 } |
| 182 | 182 |
| 183 } // namespace | 183 } // namespace |
| OLD | NEW |