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

Side by Side Diff: chrome/common/translate/translate_errors.h

Issue 25373009: Translate: New Bubble UX (for the view toolkit) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Bug fix: view id on tests Created 7 years, 1 month 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
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | chrome/test/base/test_browser_window.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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_TRANSLATE_TRANSLATE_ERRORS_H_ 5 #ifndef CHROME_COMMON_TRANSLATE_TRANSLATE_ERRORS_H_
6 #define CHROME_COMMON_TRANSLATE_TRANSLATE_ERRORS_H_ 6 #define CHROME_COMMON_TRANSLATE_TRANSLATE_ERRORS_H_
7 7
8 #include "base/basictypes.h"
9
8 // This file consolidates all the error types for translation of a page. 10 // This file consolidates all the error types for translation of a page.
9 // Note: TranslateErrors is used for UMA and translate_internals.js. 11 // Note: TranslateErrors is used for UMA and translate_internals.js.
10 // Assigned numbers should be changed because the number is binded to UMA value. 12 // Assigned numbers should be changed because the number is binded to UMA value.
11 // enum TranslateError in histograms.xml and errorStrs in translate_internals.js 13 // enum TranslateError in histograms.xml and errorStrs in translate_internals.js
12 // should be updated when the type is updated. 14 // should be updated when the type is updated.
13 15
14 class TranslateErrors { 16 class TranslateErrors {
15 public: 17 public:
16 enum Type { 18 enum Type {
17 NONE = 0, 19 NONE = 0,
(...skipping 12 matching lines...) Expand all
30 TRANSLATE_ERROR_MAX, 32 TRANSLATE_ERROR_MAX,
31 }; 33 };
32 34
33 private: 35 private:
34 TranslateErrors() {} 36 TranslateErrors() {}
35 37
36 DISALLOW_COPY_AND_ASSIGN(TranslateErrors); 38 DISALLOW_COPY_AND_ASSIGN(TranslateErrors);
37 }; 39 };
38 40
39 #endif // CHROME_COMMON_TRANSLATE_TRANSLATE_ERRORS_H_ 41 #endif // CHROME_COMMON_TRANSLATE_TRANSLATE_ERRORS_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser_ui.gypi ('k') | chrome/test/base/test_browser_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698