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

Unified Diff: chrome/browser/ui/webui/components_ui.cc

Issue 138553004: Move component updater artifacts into component_updater namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/webui/components_ui.cc
diff --git a/chrome/browser/ui/webui/components_ui.cc b/chrome/browser/ui/webui/components_ui.cc
index 01a9df21557e011bc5d2f792298aa6e4a0f43c36..cbd4e2f2d0f96ee0eba66dd0b5ed2ee32393a184 100644
--- a/chrome/browser/ui/webui/components_ui.cc
+++ b/chrome/browser/ui/webui/components_ui.cc
@@ -120,14 +120,15 @@ void ComponentsDOMHandler::HandleCheckUpdate(const base::ListValue* args) {
}
void ComponentsDOMHandler::LoadComponents() {
- ComponentUpdateService* cus = g_browser_process->component_updater();
- std::vector<CrxComponentInfo> components;
+ component_updater::ComponentUpdateService* cus =
+ g_browser_process->component_updater();
+ std::vector<component_updater::CrxComponentInfo> components;
cus->GetComponents(&components);
// Construct DictionaryValues to return to UI.
base::ListValue* component_list = new base::ListValue();
for (size_t j = 0; j < components.size(); ++j) {
- const CrxComponentInfo& component = components[j];
+ const component_updater::CrxComponentInfo& component = components[j];
base::DictionaryValue* component_entry = new base::DictionaryValue();
component_entry->SetString("id", component.id);
@@ -160,7 +161,8 @@ ComponentsUI::ComponentsUI(content::WebUI* web_ui) : WebUIController(web_ui) {
// static
void ComponentsUI::OnDemandUpdate(const std::string& component_id) {
- ComponentUpdateService* cus = g_browser_process->component_updater();
+ component_updater::ComponentUpdateService* cus =
+ g_browser_process->component_updater();
cus->OnDemandUpdate(component_id);
}
« no previous file with comments | « chrome/browser/renderer_host/chrome_resource_dispatcher_host_delegate.cc ('k') | chrome/test/base/testing_browser_process.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698