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

Side by Side Diff: app/resource_bundle_win.cc

Issue 6092005: Remove base/debug_util. Move the debug UI related functions to base/debug/deb... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | base/base.gypi » ('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 (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 "app/resource_bundle.h" 5 #include "app/resource_bundle.h"
6 6
7 #include <atlbase.h> 7 #include <atlbase.h>
8 8
9 #include "app/app_paths.h" 9 #include "app/app_paths.h"
10 #include "app/data_pack.h" 10 #include "app/data_pack.h"
11 #include "app/l10n_util.h" 11 #include "app/l10n_util.h"
12 #include "base/debug_util.h"
13 #include "base/debug/stack_trace.h" 12 #include "base/debug/stack_trace.h"
14 #include "base/file_util.h" 13 #include "base/file_util.h"
15 #include "base/lock.h" 14 #include "base/lock.h"
16 #include "base/logging.h" 15 #include "base/logging.h"
17 #include "base/path_service.h" 16 #include "base/path_service.h"
18 #include "base/resource_util.h" 17 #include "base/resource_util.h"
19 #include "base/stl_util-inl.h" 18 #include "base/stl_util-inl.h"
20 #include "base/string_piece.h" 19 #include "base/string_piece.h"
21 #include "base/win/windows_version.h" 20 #include "base/win/windows_version.h"
22 21
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
159 if (!image) { 158 if (!image) {
160 // See http://crbug.com/21925. 159 // See http://crbug.com/21925.
161 base::debug::StackTrace().PrintBacktrace(); 160 base::debug::StackTrace().PrintBacktrace();
162 NOTREACHED() << "unable to find resource: " << message_id; 161 NOTREACHED() << "unable to find resource: " << message_id;
163 return std::wstring(); 162 return std::wstring();
164 } 163 }
165 } 164 }
166 // Copy into a string16 and return. 165 // Copy into a string16 and return.
167 return string16(image->achString, image->nLength); 166 return string16(image->achString, image->nLength);
168 } 167 }
OLDNEW
« no previous file with comments | « no previous file | base/base.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698