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

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

Issue 499163002: Use qualified path for grit/ui_strings.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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/ui_strings.h"
16 #include "ui/base/l10n/l10n_util.h" 15 #include "ui/base/l10n/l10n_util.h"
17 #include "ui/base/l10n/l10n_util_mac.h" 16 #include "ui/base/l10n/l10n_util_mac.h"
17 #include "ui/strings/grit/ui_strings.h"
18 18
19 struct UILocalizerResourceMap { 19 struct UILocalizerResourceMap {
20 const char* const name; 20 const char* const name;
21 unsigned int label_id; 21 unsigned int label_id;
22 unsigned int label_arg_id; 22 unsigned int label_arg_id;
23 }; 23 };
24 24
25 25
26 namespace { 26 namespace {
27 27
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 // in our map. 90 // in our map.
91 DLOG_IF(WARNING, [string hasPrefix:@"^ID"]) << "Key '" << utf8_key 91 DLOG_IF(WARNING, [string hasPrefix:@"^ID"]) << "Key '" << utf8_key
92 << "' wasn't in the resource map?"; 92 << "' wasn't in the resource map?";
93 } 93 }
94 94
95 // If we didn't find anything, this string doesn't need localizing. 95 // If we didn't find anything, this string doesn't need localizing.
96 return nil; 96 return nil;
97 } 97 }
98 98
99 @end 99 @end
OLDNEW
« no previous file with comments | « chrome/browser/ui/cocoa/restart_browser.mm ('k') | chrome/browser/ui/fullscreen/fullscreen_exit_bubble.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698