OLD | NEW |
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 #include "components/translate/core/browser/options_menu_model.h" | 5 #include "components/translate/core/browser/options_menu_model.h" |
6 | 6 |
7 #include "base/metrics/histogram.h" | 7 #include "base/metrics/histogram.h" |
| 8 #include "build/build_config.h" |
8 #include "components/translate/core/browser/translate_driver.h" | 9 #include "components/translate/core/browser/translate_driver.h" |
9 #include "components/translate/core/browser/translate_infobar_delegate.h" | 10 #include "components/translate/core/browser/translate_infobar_delegate.h" |
10 #include "grit/components_strings.h" | 11 #include "grit/components_strings.h" |
11 #include "ui/base/l10n/l10n_util.h" | 12 #include "ui/base/l10n/l10n_util.h" |
12 | 13 |
13 namespace translate { | 14 namespace translate { |
14 | 15 |
15 namespace { | 16 namespace { |
16 | 17 |
17 const char kAboutGoogleTranslateURL[] = | 18 const char kAboutGoogleTranslateURL[] = |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
131 break; | 132 break; |
132 } | 133 } |
133 | 134 |
134 default: | 135 default: |
135 NOTREACHED() << "Invalid command id from menu."; | 136 NOTREACHED() << "Invalid command id from menu."; |
136 break; | 137 break; |
137 } | 138 } |
138 } | 139 } |
139 | 140 |
140 } // namespace translate | 141 } // namespace translate |
OLD | NEW |