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

Unified Diff: chrome/browser/ui/webui/options/import_data_handler.cc

Issue 11434074: browser: Move FindBrowserWithWebContents() into chrome namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 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
Index: chrome/browser/ui/webui/options/import_data_handler.cc
diff --git a/chrome/browser/ui/webui/options/import_data_handler.cc b/chrome/browser/ui/webui/options/import_data_handler.cc
index 94aab5bd9f7473af6151b134e11a42971da98bed..b981e15b649f0aabc2c96c1723f2fbd69f28f306 100644
--- a/chrome/browser/ui/webui/options/import_data_handler.cc
+++ b/chrome/browser/ui/webui/options/import_data_handler.cc
@@ -119,7 +119,7 @@ void ImportDataHandler::ImportData(const ListValue* args) {
#endif
importer_host_->SetObserver(this);
importer_host_->set_browser(
- browser::FindBrowserWithWebContents(web_ui()->GetWebContents()));
+ chrome::FindBrowserWithWebContents(web_ui()->GetWebContents()));
Profile* profile = Profile::FromWebUI(web_ui());
importer_host_->StartImportSettings(source_profile, profile,
import_services,

Powered by Google App Engine
This is Rietveld 408576698