Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Side by Side Diff: components/translate/core/common/translate_errors.h

Issue 1549993003: Switch to standard integer types in components/, part 4 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 COMPONENTS_TRANSLATE_CORE_COMMON_TRANSLATE_ERRORS_H_ 5 #ifndef COMPONENTS_TRANSLATE_CORE_COMMON_TRANSLATE_ERRORS_H_
6 #define COMPONENTS_TRANSLATE_CORE_COMMON_TRANSLATE_ERRORS_H_ 6 #define COMPONENTS_TRANSLATE_CORE_COMMON_TRANSLATE_ERRORS_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/macros.h"
9 9
10 namespace translate { 10 namespace translate {
11 11
12 // This file consolidates all the error types for translation of a page. 12 // This file consolidates all the error types for translation of a page.
13 // Note: TranslateErrors is used for UMA and translate_internals.js. 13 // Note: TranslateErrors is used for UMA and translate_internals.js.
14 // Assigned numbers should be changed because the number is binded to UMA value. 14 // Assigned numbers should be changed because the number is binded to UMA value.
15 // enum TranslateError in histograms.xml and errorStrs in translate_internals.js 15 // enum TranslateError in histograms.xml and errorStrs in translate_internals.js
16 // should be updated when the type is updated. 16 // should be updated when the type is updated.
17 17
18 class TranslateErrors { 18 class TranslateErrors {
(...skipping 18 matching lines...) Expand all
37 37
38 private: 38 private:
39 TranslateErrors() {} 39 TranslateErrors() {}
40 40
41 DISALLOW_COPY_AND_ASSIGN(TranslateErrors); 41 DISALLOW_COPY_AND_ASSIGN(TranslateErrors);
42 }; 42 };
43 43
44 } // namespace translate 44 } // namespace translate
45 45
46 #endif // COMPONENTS_TRANSLATE_CORE_COMMON_TRANSLATE_ERRORS_H_ 46 #endif // COMPONENTS_TRANSLATE_CORE_COMMON_TRANSLATE_ERRORS_H_
OLDNEW
« no previous file with comments | « components/translate/core/browser/translate_url_fetcher.h ('k') | components/translate/core/common/translate_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698