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

Unified Diff: chrome/browser/importer/importer_list.cc

Issue 5873005: Views: Implement the ImporterList::Observer in ImporterView to enable the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Line length fix. Created 10 years 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
« no previous file with comments | « chrome/browser/importer/importer_list.h ('k') | chrome/browser/ui/views/importer_view.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/importer/importer_list.cc
diff --git a/chrome/browser/importer/importer_list.cc b/chrome/browser/importer/importer_list.cc
index e38cc5e482a67373c72f7f0a77e88932a0af4056..10e1101dcf355bb697c50a7b460a7d21cb959b6e 100644
--- a/chrome/browser/importer/importer_list.cc
+++ b/chrome/browser/importer/importer_list.cc
@@ -98,7 +98,8 @@ void DetectFirefoxProfiles(std::vector<importer::ProfileInfo*>* profiles) {
profiles->push_back(firefox);
}
-void DetectGoogleToolbarProfiles(std::vector<importer::ProfileInfo*>* profiles) {
+void DetectGoogleToolbarProfiles(
+ std::vector<importer::ProfileInfo*>* profiles) {
if (FirstRun::IsChromeFirstRun())
return;
@@ -196,6 +197,10 @@ const importer::ProfileInfo& ImporterList::GetSourceProfileInfoForBrowserType(
return *(new importer::ProfileInfo());
}
+bool ImporterList::source_profiles_loaded() const {
+ return source_profiles_loaded_;
+}
+
void ImporterList::DetectSourceProfilesWorker() {
// TODO(jhawkins): Remove this condition once DetectSourceProfileHack is
// removed. |observer_| is NULL when said method is called.
« no previous file with comments | « chrome/browser/importer/importer_list.h ('k') | chrome/browser/ui/views/importer_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698