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

Unified Diff: chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc

Issue 10196004: Changed ChromeURLDataManager to a ProfileKeyedService and made a Factory for it. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Made ChromeURLDataManager's destructor virtual Created 8 years, 8 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/printing/cloud_print/cloud_print_setup_flow.cc
diff --git a/chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc b/chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc
index 38255a042737e851b4a72c142ee77ce0ebe5e6c4..ef7e9c943b0af418915cc3288791cceebc2c743d 100644
--- a/chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc
+++ b/chrome/browser/printing/cloud_print/cloud_print_setup_flow.cc
@@ -103,7 +103,7 @@ CloudPrintSetupFlow::CloudPrintSetupFlow(
delegate_(delegate) {
// TODO(hclam): The data source should be added once.
profile_ = profile;
- profile->GetChromeURLDataManager()->AddDataSource(
+ ChromeURLDataManager::AddDataSource(profile,
new CloudPrintSetupSource());
}
« no previous file with comments | « chrome/browser/extensions/extension_system.cc ('k') | chrome/browser/profiles/off_the_record_profile_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698