| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 "extensions/common/features/feature.h" | 5 #include "extensions/common/features/feature.h" |
| 6 | 6 |
| 7 #include <map> | 7 #include <map> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/lazy_instance.h" | 10 #include "base/lazy_instance.h" |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 extension->manifest_version()); | 39 extension->manifest_version()); |
| 40 } | 40 } |
| 41 | 41 |
| 42 Feature::Availability Feature::IsAvailableToEnvironment() const { | 42 Feature::Availability Feature::IsAvailableToEnvironment() const { |
| 43 return IsAvailableToManifest("", // extension_id | 43 return IsAvailableToManifest("", // extension_id |
| 44 Manifest::TYPE_UNKNOWN, | 44 Manifest::TYPE_UNKNOWN, |
| 45 Manifest::INVALID_LOCATION, | 45 Manifest::INVALID_LOCATION, |
| 46 -1); // manifest_version | 46 -1); // manifest_version |
| 47 } | 47 } |
| 48 | 48 |
| 49 Feature::Feature() : no_parent_(false) {} | 49 Feature::Feature() : no_parent_(false), check_channel_(false) {} |
| 50 | 50 |
| 51 Feature::~Feature() {} | 51 Feature::~Feature() {} |
| 52 | 52 |
| 53 } // namespace extensions | 53 } // namespace extensions |
| OLD | NEW |