OLD | NEW |
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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 EXTENSIONS_COMMON_INSTALL_WARNING_H_ | 5 #ifndef EXTENSIONS_COMMON_INSTALL_WARNING_H_ |
6 #define EXTENSIONS_COMMON_INSTALL_WARNING_H_ | 6 #define EXTENSIONS_COMMON_INSTALL_WARNING_H_ |
7 | 7 |
8 #include <ostream> | 8 #include <ostream> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 25 matching lines...) Expand all Loading... |
36 // "permissions"). | 36 // "permissions"). |
37 std::string key; | 37 std::string key; |
38 // Optional - for specifying the incorrect portion of a key in the manifest | 38 // Optional - for specifying the incorrect portion of a key in the manifest |
39 // (e.g., an unrecognized permission "foo" in "permissions"). | 39 // (e.g., an unrecognized permission "foo" in "permissions"). |
40 std::string specific; | 40 std::string specific; |
41 }; | 41 }; |
42 | 42 |
43 // Let gtest print InstallWarnings. | 43 // Let gtest print InstallWarnings. |
44 void PrintTo(const InstallWarning&, ::std::ostream* os); | 44 void PrintTo(const InstallWarning&, ::std::ostream* os); |
45 | 45 |
46 } // namespace | 46 } // namespace extensions |
47 | 47 |
48 #endif // EXTENSIONS_COMMON_INSTALL_WARNING_H_ | 48 #endif // EXTENSIONS_COMMON_INSTALL_WARNING_H_ |
OLD | NEW |