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

Unified Diff: chrome/browser/importer/importer_bridge.h

Issue 18064002: The browser importer code which runs in the utility process should not depend on chrome\browser dat… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 6 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/importer/importer_bridge.h
===================================================================
--- chrome/browser/importer/importer_bridge.h (revision 208750)
+++ chrome/browser/importer/importer_bridge.h (working copy)
@@ -5,9 +5,11 @@
#ifndef CHROME_BROWSER_IMPORTER_IMPORTER_BRIDGE_H_
#define CHROME_BROWSER_IMPORTER_IMPORTER_BRIDGE_H_
+#include <string>
#include <vector>
#include "base/basictypes.h"
+#include "base/files/file_path.h"
#include "base/memory/ref_counted.h"
#include "base/strings/string16.h"
#include "build/build_config.h"
@@ -46,11 +48,15 @@
virtual void SetHistoryItems(const history::URLRows& rows,
history::VisitSource visit_source) = 0;
- // WARNING: This function takes ownership of (and deletes) the pointers in
- // |template_urls|!
- virtual void SetKeywords(const std::vector<TemplateURL*>& template_urls,
- bool unique_on_host_and_path) = 0;
+ virtual void SetKeywords(
+ const std::vector<importer::URLKeywordInfo>& url_keywords,
gab 2013/06/27 22:07:29 Fwd-decl URLKeywordInfo
ananta 2013/06/27 22:29:55 Done.
+ bool unique_on_host_and_path) = 0;
+ // The search_engine_data vector contains XML data retrieved from the Firefox
+ // profile and its sqlite db.
+ virtual void SetFirefoxSearchEnginesXMLData(
gab 2013/06/27 22:07:29 I would rather not add a Firefox only method to th
ananta 2013/06/27 22:29:55 Please look at the comments for the ParseSearchEng
+ const std::vector<std::string>& search_engine_data) = 0;
+
virtual void SetPasswordForm(const content::PasswordForm& form) = 0;
// Notifies the coordinator that the import operation has begun.

Powered by Google App Engine
This is Rietveld 408576698