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

Side by Side Diff: chrome/browser/extensions/extensions_ui.cc

Issue 101026: Change chrome-ui to chrome. I didn't go too far in converting existing string... (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
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 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/extensions/extensions_ui.h" 5 #include "chrome/browser/extensions/extensions_ui.h"
6 6
7 #include "app/resource_bundle.h" 7 #include "app/resource_bundle.h"
8 #include "base/thread.h" 8 #include "base/thread.h"
9 #include "chrome/browser/browser_process.h" 9 #include "chrome/browser/browser_process.h"
10 #include "chrome/browser/extensions/extensions_service.h" 10 #include "chrome/browser/extensions/extensions_service.h"
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 ExtensionsUI::ExtensionsUI(TabContents* contents) : DOMUI(contents) { 173 ExtensionsUI::ExtensionsUI(TabContents* contents) : DOMUI(contents) {
174 ExtensionsService *exstension_service = GetProfile()->GetExtensionsService(); 174 ExtensionsService *exstension_service = GetProfile()->GetExtensionsService();
175 175
176 ExtensionsDOMHandler* handler = new ExtensionsDOMHandler(this, 176 ExtensionsDOMHandler* handler = new ExtensionsDOMHandler(this,
177 exstension_service); 177 exstension_service);
178 AddMessageHandler(handler); 178 AddMessageHandler(handler);
179 handler->Init(); 179 handler->Init();
180 180
181 ExtensionsUIHTMLSource* html_source = new ExtensionsUIHTMLSource(); 181 ExtensionsUIHTMLSource* html_source = new ExtensionsUIHTMLSource();
182 182
183 // Set up the chrome-ui://extensions/ source. 183 // Set up the chrome://extensions/ source.
184 g_browser_process->io_thread()->message_loop()->PostTask(FROM_HERE, 184 g_browser_process->io_thread()->message_loop()->PostTask(FROM_HERE,
185 NewRunnableMethod(&chrome_url_data_manager, 185 NewRunnableMethod(&chrome_url_data_manager,
186 &ChromeURLDataManager::AddDataSource, html_source)); 186 &ChromeURLDataManager::AddDataSource, html_source));
187 } 187 }
OLDNEW
« no previous file with comments | « chrome/browser/dom_ui/history_ui.cc ('k') | chrome/browser/renderer_host/renderer_security_policy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698