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/features/feature.h" | 5 #include "chrome/common/extensions/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" |
11 #include "base/stringprintf.h" | 11 #include "base/strings/string_util.h" |
12 #include "base/string_util.h" | 12 #include "base/strings/stringprintf.h" |
13 #include "chrome/common/chrome_switches.h" | 13 #include "chrome/common/chrome_switches.h" |
14 | 14 |
15 using chrome::VersionInfo; | 15 using chrome::VersionInfo; |
16 | 16 |
17 namespace { | 17 namespace { |
18 | 18 |
19 const VersionInfo::Channel kDefaultChannel = VersionInfo::CHANNEL_STABLE; | 19 const VersionInfo::Channel kDefaultChannel = VersionInfo::CHANNEL_STABLE; |
20 VersionInfo::Channel g_current_channel = kDefaultChannel; | 20 VersionInfo::Channel g_current_channel = kDefaultChannel; |
21 | 21 |
22 } // namespace | 22 } // namespace |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 Feature::Availability Feature::CreateAvailability(AvailabilityResult result, | 59 Feature::Availability Feature::CreateAvailability(AvailabilityResult result, |
60 const std::string& message) { | 60 const std::string& message) { |
61 return Availability(result, message); | 61 return Availability(result, message); |
62 } | 62 } |
63 | 63 |
64 Feature::Feature() {} | 64 Feature::Feature() {} |
65 | 65 |
66 Feature::~Feature() {} | 66 Feature::~Feature() {} |
67 | 67 |
68 } // namespace extensions | 68 } // namespace extensions |
OLD | NEW |