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

Side by Side Diff: chrome/browser/chromeos/dom_ui/login/login_ui_helpers.cc

Issue 6263008: Move ResourceBundle, DataPack to ui/base (Closed) Base URL: svn://svn.chromium.org/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
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 // #include <algorithm> 4 // #include <algorithm>
5 5
6 #include <algorithm> 6 #include <algorithm>
7 7
8 #include "app/resource_bundle.h"
9 #include "base/file_path.h" 8 #include "base/file_path.h"
10 #include "base/path_service.h" 9 #include "base/path_service.h"
11 #include "base/values.h" 10 #include "base/values.h"
12 #include "chrome/browser/browser_list.h" 11 #include "chrome/browser/browser_list.h"
13 #include "chrome/browser/browser_process.h" 12 #include "chrome/browser/browser_process.h"
14 #include "chrome/browser/chromeos/dom_ui/login/login_ui_helpers.h" 13 #include "chrome/browser/chromeos/dom_ui/login/login_ui_helpers.h"
15 #include "chrome/browser/profiles/profile.h" 14 #include "chrome/browser/profiles/profile.h"
16 #include "chrome/browser/profiles/profile_manager.h" 15 #include "chrome/browser/profiles/profile_manager.h"
17 #include "chrome/browser/ui/browser.h" 16 #include "chrome/browser/ui/browser.h"
18 #include "chrome/common/chrome_paths.h" 17 #include "chrome/common/chrome_paths.h"
19 #include "chrome/common/jstemplate_builder.h" 18 #include "chrome/common/jstemplate_builder.h"
20 #include "grit/browser_resources.h" 19 #include "grit/browser_resources.h"
20 #include "ui/base/resource/resource_bundle.h"
21 21
22 namespace chromeos { 22 namespace chromeos {
23 23
24 //////////////////////////////////////////////////////////////////////////////// 24 ////////////////////////////////////////////////////////////////////////////////
25 // 25 //
26 // ProfileOperationsInterface 26 // ProfileOperationsInterface
27 // 27 //
28 //////////////////////////////////////////////////////////////////////////////// 28 ////////////////////////////////////////////////////////////////////////////////
29 Profile* ProfileOperationsInterface::GetDefaultProfile() { 29 Profile* ProfileOperationsInterface::GetDefaultProfile() {
30 ProfileManager* profile_manager = g_browser_process->profile_manager(); 30 ProfileManager* profile_manager = g_browser_process->profile_manager();
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 std::string full_html) { 85 std::string full_html) {
86 RefCountedBytes* html_bytes = new RefCountedBytes(); 86 RefCountedBytes* html_bytes = new RefCountedBytes();
87 html_bytes->data.resize(full_html.size()); 87 html_bytes->data.resize(full_html.size());
88 std::copy(full_html.begin(), 88 std::copy(full_html.begin(),
89 full_html.end(), 89 full_html.end(),
90 html_bytes->data.begin()); 90 html_bytes->data.begin());
91 return html_bytes; 91 return html_bytes;
92 } 92 }
93 93
94 } // namespace chromeos 94 } // namespace chromeos
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/dom_ui/keyboard_overlay_ui.cc ('k') | chrome/browser/chromeos/dom_ui/menu_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698