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

Side by Side Diff: chrome/browser/ui/cocoa/ui_localizer.mm

Issue 2276823003: Change many chrome/browser includes to use qualified paths. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 3 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 (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 #import "chrome/browser/ui/cocoa/ui_localizer.h" 5 #import "chrome/browser/ui/cocoa/ui_localizer.h"
6 6
7 #import <Foundation/Foundation.h> 7 #import <Foundation/Foundation.h>
8 8
9 #include <stdlib.h> 9 #include <stdlib.h>
10 10
11 #include "base/logging.h" 11 #include "base/logging.h"
12 #include "base/strings/sys_string_conversions.h" 12 #include "base/strings/sys_string_conversions.h"
13 #include "chrome/grit/chromium_strings.h" 13 #include "chrome/grit/chromium_strings.h"
14 #include "chrome/grit/generated_resources.h" 14 #include "chrome/grit/generated_resources.h"
15 #include "grit/components_strings.h" 15 #include "components/strings/grit/components_strings.h"
16 #include "ui/base/l10n/l10n_util.h" 16 #include "ui/base/l10n/l10n_util.h"
17 #include "ui/base/l10n/l10n_util_mac.h" 17 #include "ui/base/l10n/l10n_util_mac.h"
18 #include "ui/strings/grit/ui_strings.h" 18 #include "ui/strings/grit/ui_strings.h"
19 19
20 struct UILocalizerResourceMap { 20 struct UILocalizerResourceMap {
21 const char* const name; 21 const char* const name;
22 unsigned int label_id; 22 unsigned int label_id;
23 unsigned int label_arg_id; 23 unsigned int label_arg_id;
24 }; 24 };
25 25
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 // in our map. 91 // in our map.
92 DLOG_IF(WARNING, [string hasPrefix:@"^ID"]) << "Key '" << utf8_key 92 DLOG_IF(WARNING, [string hasPrefix:@"^ID"]) << "Key '" << utf8_key
93 << "' wasn't in the resource map?"; 93 << "' wasn't in the resource map?";
94 } 94 }
95 95
96 // If we didn't find anything, this string doesn't need localizing. 96 // If we didn't find anything, this string doesn't need localizing.
97 return nil; 97 return nil;
98 } 98 }
99 99
100 @end 100 @end
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698