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

Side by Side Diff: chrome/browser/dom_ui/dom_ui.cc

Issue 109043: Move l10n_util to app/ (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 7 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 | « chrome/browser/dom_ui/chrome_url_data_manager.cc ('k') | chrome/browser/dom_ui/downloads_ui.cc » ('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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "chrome/browser/dom_ui/dom_ui.h" 5 #include "chrome/browser/dom_ui/dom_ui.h"
6 6
7 #include "app/l10n_util.h"
7 #include "base/json_reader.h" 8 #include "base/json_reader.h"
8 #include "base/json_writer.h" 9 #include "base/json_writer.h"
9 #include "base/stl_util-inl.h" 10 #include "base/stl_util-inl.h"
10 #include "base/string_util.h" 11 #include "base/string_util.h"
11 #include "base/values.h" 12 #include "base/values.h"
12 #include "chrome/browser/tab_contents/tab_contents.h" 13 #include "chrome/browser/tab_contents/tab_contents.h"
13 #include "chrome/common/l10n_util.h"
14 14
15 DOMUI::DOMUI(TabContents* contents) 15 DOMUI::DOMUI(TabContents* contents)
16 : hide_favicon_(false), 16 : hide_favicon_(false),
17 force_bookmark_bar_visible_(false), 17 force_bookmark_bar_visible_(false),
18 focus_location_bar_by_default_(false), 18 focus_location_bar_by_default_(false),
19 should_hide_url_(false), 19 should_hide_url_(false),
20 link_transition_type_(PageTransition::LINK), 20 link_transition_type_(PageTransition::LINK),
21 tab_contents_(contents) { 21 tab_contents_(contents) {
22 } 22 }
23 23
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after
168 list_member->GetType() == Value::TYPE_STRING) { 168 list_member->GetType() == Value::TYPE_STRING) {
169 const StringValue* string_value = 169 const StringValue* string_value =
170 static_cast<const StringValue*>(list_member); 170 static_cast<const StringValue*>(list_member);
171 std::wstring wstring_value; 171 std::wstring wstring_value;
172 string_value->GetAsString(&wstring_value); 172 string_value->GetAsString(&wstring_value);
173 return wstring_value; 173 return wstring_value;
174 } 174 }
175 } 175 }
176 return std::wstring(); 176 return std::wstring();
177 } 177 }
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/chrome_url_data_manager.cc ('k') | chrome/browser/dom_ui/downloads_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698