| 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 #ifndef CHROME_COMMON_EXTENSIONS_FEATURES_FEATURE_CHANNEL_H_ | 5 #ifndef EXTENSIONS_COMMON_FEATURES_FEATURE_CHANNEL_H_ |
| 6 #define CHROME_COMMON_EXTENSIONS_FEATURES_FEATURE_CHANNEL_H_ | 6 #define EXTENSIONS_COMMON_FEATURES_FEATURE_CHANNEL_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 | 9 |
| 10 namespace version_info { | 10 namespace version_info { |
| 11 enum class Channel; | 11 enum class Channel; |
| 12 } | 12 } |
| 13 | 13 |
| 14 namespace extensions { | 14 namespace extensions { |
| 15 | 15 |
| 16 // Gets the current channel as seen by the Feature system. | 16 // Gets the current channel as seen by the Feature system. |
| (...skipping 14 matching lines...) Expand all Loading... |
| 31 ~ScopedCurrentChannel(); | 31 ~ScopedCurrentChannel(); |
| 32 | 32 |
| 33 private: | 33 private: |
| 34 version_info::Channel original_channel_; | 34 version_info::Channel original_channel_; |
| 35 | 35 |
| 36 DISALLOW_COPY_AND_ASSIGN(ScopedCurrentChannel); | 36 DISALLOW_COPY_AND_ASSIGN(ScopedCurrentChannel); |
| 37 }; | 37 }; |
| 38 | 38 |
| 39 } // namespace extensions | 39 } // namespace extensions |
| 40 | 40 |
| 41 #endif // CHROME_COMMON_EXTENSIONS_FEATURES_FEATURE_CHANNEL_H_ | 41 #endif // EXTENSIONS_COMMON_FEATURES_FEATURE_CHANNEL_H_ |
| OLD | NEW |