OLD | NEW |
1 // Copyright (c) 2006-2008 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 #ifndef CHROME_BROWSER_CHARACTER_ENCODING_H_ | 5 #ifndef CHROME_BROWSER_CHARACTER_ENCODING_H_ |
6 #define CHROME_BROWSER_CHARACTER_ENCODING_H_ | 6 #define CHROME_BROWSER_CHARACTER_ENCODING_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
97 // valid, return corresponding encoding command id. Otherwise return 0; | 97 // valid, return corresponding encoding command id. Otherwise return 0; |
98 static int GetCommandIdByCanonicalEncodingName( | 98 static int GetCommandIdByCanonicalEncodingName( |
99 const std::string& encoding_name); | 99 const std::string& encoding_name); |
100 | 100 |
101 private: | 101 private: |
102 // Disallow instantiating it since this class only contains static methods. | 102 // Disallow instantiating it since this class only contains static methods. |
103 DISALLOW_IMPLICIT_CONSTRUCTORS(CharacterEncoding); | 103 DISALLOW_IMPLICIT_CONSTRUCTORS(CharacterEncoding); |
104 }; | 104 }; |
105 | 105 |
106 #endif // CHROME_BROWSER_CHARACTER_ENCODING_H_ | 106 #endif // CHROME_BROWSER_CHARACTER_ENCODING_H_ |
OLD | NEW |