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

Side by Side Diff: chrome/browser/dom_ui/textfields_ui.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 4
5 #include "chrome/browser/dom_ui/textfields_ui.h" 5 #include "chrome/browser/dom_ui/textfields_ui.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <string> 8 #include <string>
9 9
10 #include "app/resource_bundle.h"
11 #include "base/singleton.h" 10 #include "base/singleton.h"
12 #include "base/string_piece.h" 11 #include "base/string_piece.h"
13 #include "base/values.h" 12 #include "base/values.h"
14 #include "chrome/browser/browser_thread.h" 13 #include "chrome/browser/browser_thread.h"
15 #include "chrome/common/jstemplate_builder.h" 14 #include "chrome/common/jstemplate_builder.h"
16 #include "chrome/common/url_constants.h" 15 #include "chrome/common/url_constants.h"
17 #include "grit/browser_resources.h" 16 #include "grit/browser_resources.h"
17 #include "ui/base/resource/resource_bundle.h"
18 18
19 /** 19 /**
20 * TextfieldsUIHTMLSource implementation. 20 * TextfieldsUIHTMLSource implementation.
21 */ 21 */
22 TextfieldsUIHTMLSource::TextfieldsUIHTMLSource() 22 TextfieldsUIHTMLSource::TextfieldsUIHTMLSource()
23 : DataSource(chrome::kChromeUITextfieldsHost, MessageLoop::current()) { 23 : DataSource(chrome::kChromeUITextfieldsHost, MessageLoop::current()) {
24 } 24 }
25 25
26 void TextfieldsUIHTMLSource::StartDataRequest(const std::string& path, 26 void TextfieldsUIHTMLSource::StartDataRequest(const std::string& path,
27 bool is_off_the_record, 27 bool is_off_the_record,
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 67
68 TextfieldsUIHTMLSource* html_source = new TextfieldsUIHTMLSource(); 68 TextfieldsUIHTMLSource* html_source = new TextfieldsUIHTMLSource();
69 69
70 // Set up the chrome://textfields/ source. 70 // Set up the chrome://textfields/ source.
71 BrowserThread::PostTask( 71 BrowserThread::PostTask(
72 BrowserThread::IO, FROM_HERE, 72 BrowserThread::IO, FROM_HERE,
73 NewRunnableMethod(ChromeURLDataManager::GetInstance(), 73 NewRunnableMethod(ChromeURLDataManager::GetInstance(),
74 &ChromeURLDataManager::AddDataSource, 74 &ChromeURLDataManager::AddDataSource,
75 make_scoped_refptr(html_source))); 75 make_scoped_refptr(html_source)));
76 } 76 }
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/sync_internals_html_source.cc ('k') | chrome/browser/download/download_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698