OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_LOCALIZED_ERROR_H_ | 5 #ifndef CHROME_COMMON_LOCALIZED_ERROR_H_ |
6 #define CHROME_COMMON_LOCALIZED_ERROR_H_ | 6 #define CHROME_COMMON_LOCALIZED_ERROR_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/basictypes.h" | 10 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "base/strings/string16.h" | 12 #include "base/strings/string16.h" |
13 #include "components/error_page/common/offline_page_types.h" | 13 #include "components/error_page/common/offline_page_types.h" |
14 #include "url/gurl.h" | 14 #include "url/gurl.h" |
15 | 15 |
16 namespace base { | 16 namespace base { |
17 class DictionaryValue; | 17 class DictionaryValue; |
18 } | 18 } |
19 | 19 |
20 namespace error_page { | 20 namespace error_page { |
(...skipping 25 matching lines...) Expand all Loading... |
46 static bool HasStrings(const std::string& error_domain, int error_code); | 46 static bool HasStrings(const std::string& error_domain, int error_code); |
47 | 47 |
48 static const char kHttpErrorDomain[]; | 48 static const char kHttpErrorDomain[]; |
49 | 49 |
50 private: | 50 private: |
51 | 51 |
52 DISALLOW_IMPLICIT_CONSTRUCTORS(LocalizedError); | 52 DISALLOW_IMPLICIT_CONSTRUCTORS(LocalizedError); |
53 }; | 53 }; |
54 | 54 |
55 #endif // CHROME_COMMON_LOCALIZED_ERROR_H_ | 55 #endif // CHROME_COMMON_LOCALIZED_ERROR_H_ |
OLD | NEW |