Home
last modified time | relevance | path

Searched refs:importer (Results 1 – 25 of 76) sorted by relevance

1234

/external/chromium/chrome/browser/importer/
Dimporter_list.cc25 void DetectIEProfiles(std::vector<importer::SourceProfile*>* profiles) { in DetectIEProfiles()
27 importer::SourceProfile* ie = new importer::SourceProfile(); in DetectIEProfiles()
29 ie->importer_type = importer::MS_IE; in DetectIEProfiles()
32 ie->services_supported = importer::HISTORY | importer::FAVORITES | in DetectIEProfiles()
33 importer::COOKIES | importer::PASSWORDS | importer::SEARCH_ENGINES; in DetectIEProfiles()
39 void DetectSafariProfiles(std::vector<importer::SourceProfile*>* profiles) { in DetectSafariProfiles()
40 uint16 items = importer::NONE; in DetectSafariProfiles()
44 importer::SourceProfile* safari = new importer::SourceProfile(); in DetectSafariProfiles()
46 safari->importer_type = importer::SAFARI; in DetectSafariProfiles()
54 void DetectFirefoxProfiles(std::vector<importer::SourceProfile*>* profiles) { in DetectFirefoxProfiles()
[all …]
Dsafari_importer_unittest.mm5 #include "chrome/browser/importer/safari_importer.h"
15 #include "chrome/browser/importer/importer_bridge.h"
45 scoped_refptr<SafariImporter> importer(GetSafariImporter());
48 importer->ParseHistoryItems(&history_items);
60 importer->HistoryTimeToEpochTime(@"270598264.4"));
71 importer->HistoryTimeToEpochTime(@"270598231.4"));
95 scoped_refptr<SafariImporter> importer(GetSafariImporter());
97 importer->ParseBookmarks(&bookmarks);
116 scoped_refptr<SafariImporter> importer(GetSafariImporter());
118 ASSERT_TRUE(importer->OpenDatabase(&db));
[all …]
Dimporter_host.cc47 importer::ShowImportLockDialog(parent_window_, this); in ShowWarningDialog()
72 void ImporterHost::SetObserver(importer::ImporterProgressObserver* observer) { in SetObserver()
81 void ImporterHost::NotifyImportItemStarted(importer::ImportItem item) { in NotifyImportItemStarted()
86 void ImporterHost::NotifyImportItemEnded(importer::ImportItem item) { in NotifyImportItemEnded()
99 const importer::SourceProfile& source_profile, in StartImportSettings()
112 importer_ = importer::CreateImporterByType(source_profile.importer_type); in StartImportSettings()
133 if (source_profile.importer_type == importer::GOOGLE_TOOLBAR5) { in StartImportSettings()
184 const importer::SourceProfile& source_profile, in CheckForFirefoxLock()
187 if (source_profile.importer_type == importer::FIREFOX2 || in CheckForFirefoxLock()
188 source_profile.importer_type == importer::FIREFOX3) { in CheckForFirefoxLock()
[all …]
Dimporter_host.h25 namespace importer {
47 void SetObserver(importer::ImporterProgressObserver* observer);
53 void NotifyImportItemStarted(importer::ImportItem item);
54 void NotifyImportItemEnded(importer::ImportItem item);
74 const importer::SourceProfile& source_profile,
95 void CheckForFirefoxLock(const importer::SourceProfile& source_profile,
159 importer::ImporterProgressObserver* observer_;
Dimporter_list.h17 namespace importer {
56 const importer::SourceProfile& GetSourceProfileAt(size_t index) const;
59 const importer::SourceProfile& GetSourceProfileForImporterType(
75 const std::vector<importer::SourceProfile*>& profiles);
78 ScopedVector<importer::SourceProfile> source_profiles_;
Dimporter_unittest.cc72 importer::ImporterProgressObserver* observer, in Firefox3xImporterTest()
99 importer::SourceProfile source_profile; in Firefox3xImporterTest()
100 source_profile.importer_type = importer::FIREFOX3; in Firefox3xImporterTest()
105 int items = importer::HISTORY | importer::PASSWORDS | importer::FAVORITES; in Firefox3xImporterTest()
107 items = items | importer::SEARCH_ENGINES; in Firefox3xImporterTest()
185 public importer::ImporterProgressObserver {
195 virtual void ImportItemStarted(importer::ImportItem item) OVERRIDE {} in ImportItemStarted()
196 virtual void ImportItemEnded(importer::ImportItem item) OVERRIDE {} in ImportItemEnded()
392 importer::SourceProfile source_profile; in TEST_F()
393 source_profile.importer_type = importer::MS_IE; in TEST_F()
[all …]
Dfirefox2_importer.cc50 const importer::SourceProfile& source_profile, in StartImport()
58 (source_profile.importer_type == importer::BOOKMARKS_HTML); in StartImport()
62 if ((items & importer::HOME_PAGE) && !cancelled()) in StartImport()
68 if ((items & importer::HISTORY) && !cancelled()) { in StartImport()
69 bridge_->NotifyItemStarted(importer::HISTORY); in StartImport()
71 bridge_->NotifyItemEnded(importer::HISTORY); in StartImport()
74 if ((items & importer::FAVORITES) && !cancelled()) { in StartImport()
75 bridge_->NotifyItemStarted(importer::FAVORITES); in StartImport()
77 bridge_->NotifyItemEnded(importer::FAVORITES); in StartImport()
79 if ((items & importer::SEARCH_ENGINES) && !cancelled()) { in StartImport()
[all …]
Dfirefox3_importer.cc66 const importer::SourceProfile& source_profile, in StartImport()
78 if ((items & importer::HOME_PAGE) && !cancelled()) in StartImport()
84 if ((items & importer::HISTORY) && !cancelled()) { in StartImport()
85 bridge_->NotifyItemStarted(importer::HISTORY); in StartImport()
87 bridge_->NotifyItemEnded(importer::HISTORY); in StartImport()
90 if ((items & importer::FAVORITES) && !cancelled()) { in StartImport()
91 bridge_->NotifyItemStarted(importer::FAVORITES); in StartImport()
93 bridge_->NotifyItemEnded(importer::FAVORITES); in StartImport()
95 if ((items & importer::SEARCH_ENGINES) && !cancelled()) { in StartImport()
96 bridge_->NotifyItemStarted(importer::SEARCH_ENGINES); in StartImport()
[all …]
Dsafari_importer.mm7 #include "chrome/browser/importer/safari_importer.h"
21 #include "chrome/browser/importer/importer_bridge.h"
54 *services_supported = importer::NONE;
64 *services_supported |= importer::FAVORITES;
66 *services_supported |= importer::HISTORY;
68 return *services_supported != importer::NONE;
71 void SafariImporter::StartImport(const importer::SourceProfile& source_profile,
81 if ((items & importer::HISTORY) && !cancelled()) {
82 bridge_->NotifyItemStarted(importer::HISTORY);
84 bridge_->NotifyItemEnded(importer::HISTORY);
[all …]
Die_importer.cc83 void IEImporter::StartImport(const importer::SourceProfile& source_profile, in StartImport()
94 if ((items & importer::HOME_PAGE) && !cancelled()) in StartImport()
97 if ((items & importer::HISTORY) && !cancelled()) { in StartImport()
98 bridge_->NotifyItemStarted(importer::HISTORY); in StartImport()
100 bridge_->NotifyItemEnded(importer::HISTORY); in StartImport()
102 if ((items & importer::FAVORITES) && !cancelled()) { in StartImport()
103 bridge_->NotifyItemStarted(importer::FAVORITES); in StartImport()
105 bridge_->NotifyItemEnded(importer::FAVORITES); in StartImport()
107 if ((items & importer::SEARCH_ENGINES) && !cancelled()) { in StartImport()
108 bridge_->NotifyItemStarted(importer::SEARCH_ENGINES); in StartImport()
[all …]
Dexternal_process_importer_host.h17 namespace importer {
33 const importer::SourceProfile& source_profile,
45 const importer::SourceProfile* source_profile_;
Dfirefox_importer_unittest.cc196 Firefox2Importer* importer = new Firefox2Importer(); in TEST() local
197 importer->AddRef(); in TEST()
199 importer->ImportBookmarksFile(empty_folder_path, default_urls, false, in TEST()
200 first_folder_name, importer, &bookmarks, in TEST()
247 importer->ImportBookmarksFile(empty_folder_path, default_urls, false, in TEST()
248 first_folder_name, importer, &bookmarks, in TEST()
281 importer->ImportBookmarksFile(epiphany_path, default_urls, false, in TEST()
282 first_folder_name, importer, &bookmarks, in TEST()
297 importer->Release(); in TEST()
Dtoolbar_importer.cc48 items_to_import_(importer::NONE), in Toolbar5Importer()
62 const importer::SourceProfile& source_profile, in StartImport()
129 DCHECK((items_to_import_ == importer::FAVORITES) || in ContinueImport()
130 (items_to_import_ == importer::NONE)) << in ContinueImport()
135 if (importer::NONE == items_to_import_) { in ContinueImport()
139 if ((items_to_import_ & importer::FAVORITES) && !cancelled()) { in ContinueImport()
140 items_to_import_ &= ~importer::FAVORITES; in ContinueImport()
175 bridge_->NotifyItemStarted(importer::FAVORITES); in BeginImportBookmarks()
180 bridge_->NotifyItemEnded(importer::FAVORITES); in EndImportBookmarks()
Dexternal_process_importer_client.cc19 const importer::SourceProfile& source_profile, in ExternalProcessImporterClient()
90 importer::ImportItem import_item) { in NotifyItemFinishedOnIOThread()
122 bridge_->NotifyItemStarted(static_cast<importer::ImportItem>(item_data)); in OnImportItemStart()
129 importer::ImportItem import_item = in OnImportItemFinished()
130 static_cast<importer::ImportItem>(item_data); in OnImportItemFinished()
/external/chromium/chrome/browser/first_run/
Dfirst_run.cc179 out_prefs->do_import_items |= importer::SEARCH_ENGINES; in ProcessMasterPreferences()
181 out_prefs->dont_import_items |= importer::SEARCH_ENGINES; in ProcessMasterPreferences()
206 out_prefs->do_import_items |= importer::HISTORY; in ProcessMasterPreferences()
208 out_prefs->dont_import_items |= importer::HISTORY; in ProcessMasterPreferences()
219 out_prefs->do_import_items |= importer::HOME_PAGE; in ProcessMasterPreferences()
221 out_prefs->dont_import_items |= importer::HOME_PAGE; in ProcessMasterPreferences()
229 out_prefs->do_import_items |= importer::FAVORITES; in ProcessMasterPreferences()
273 if (!(out_prefs->do_import_items & importer::SEARCH_ENGINES)) { in ProcessMasterPreferences()
274 out_prefs->dont_import_items |= importer::SEARCH_ENGINES; in ProcessMasterPreferences()
277 if (!(out_prefs->do_import_items & importer::HOME_PAGE)) { in ProcessMasterPreferences()
[all …]
/external/chromium/chrome/browser/ui/gtk/importer/
Dimport_progress_dialog_gtk.cc40 const importer::SourceProfile& source_profile, in StartImport()
49 source_profile.importer_type == importer::BOOKMARKS_HTML); in StartImport()
97 if (items_ & importer::HISTORY) { in ImportProgressDialogGtk()
104 if (items_ & importer::FAVORITES) { in ImportProgressDialogGtk()
111 if (items_ & importer::SEARCH_ENGINES) { in ImportProgressDialogGtk()
118 if (items_ & importer::PASSWORDS) { in ImportProgressDialogGtk()
162 void ImportProgressDialogGtk::ImportItemStarted(importer::ImportItem item) { in ImportItemStarted()
165 case importer::FAVORITES: in ImportItemStarted()
169 case importer::SEARCH_ENGINES: in ImportItemStarted()
173 case importer::PASSWORDS: in ImportItemStarted()
[all …]
Dimport_progress_dialog_gtk.h23 class ImportProgressDialogGtk : public importer::ImporterProgressObserver {
30 const importer::SourceProfile& source_profile,
51 virtual void ImportItemStarted(importer::ImportItem item) OVERRIDE;
52 virtual void ImportItemEnded(importer::ImportItem item) OVERRIDE;
/external/chromium/chrome/browser/ui/webui/options/
Dimport_data_handler.cc77 uint16 selected_items = importer::NONE; in ImportData()
79 selected_items |= importer::HISTORY; in ImportData()
82 selected_items |= importer::FAVORITES; in ImportData()
85 selected_items |= importer::PASSWORDS; in ImportData()
88 selected_items |= importer::SEARCH_ENGINES; in ImportData()
91 const importer::SourceProfile& source_profile = in ImportData()
124 const importer::SourceProfile& source_profile = in OnSourceProfilesLoaded()
132 (browser_services & importer::HISTORY) != 0); in OnSourceProfilesLoaded()
134 (browser_services & importer::FAVORITES) != 0); in OnSourceProfilesLoaded()
136 (browser_services & importer::PASSWORDS) != 0); in OnSourceProfilesLoaded()
[all …]
Dimport_data_handler.h22 public importer::ImporterProgressObserver {
42 virtual void ImportItemStarted(importer::ImportItem item) OVERRIDE;
43 virtual void ImportItemEnded(importer::ImportItem item) OVERRIDE;
/external/chromium-trace/src/tracing/
Dlinux_perf_importer.js36 switchRunningLinuxPid: function(importer, prevState, ts, pid, comm, prio) { argument
40 var thread = importer.threadsByLinuxPid[this.lastActivePid];
688 handler: function(importer, event) { argument
694 importer, prevState, event.timestamp, nextPid, nextComm, nextPrio);
700 handler: function(importer, event) { argument
704 importer.markPidRunnable(event.timestamp, pid, comm, prio);
710 handler: function(importer, event) { argument
712 var targetCpu = importer.getOrCreateCpuState(targetCpuNumber);
717 importer.importError('Don\'t understand power_start events of ' +
734 handler: function(importer, event) { argument
[all …]
/external/chromium/chrome/browser/ui/views/importer/
Dimport_progress_dialog_view.cc186 if (items_ & importer::HISTORY) { in InitControlLayout()
192 if (items_ & importer::FAVORITES && !bookmarks_import_) { in InitControlLayout()
198 if (items_ & importer::SEARCH_ENGINES) { in InitControlLayout()
204 if (items_ & importer::PASSWORDS) { in InitControlLayout()
210 if (items_ & importer::COOKIES) { in InitControlLayout()
222 void ImportProgressDialogView::ImportItemStarted(importer::ImportItem item) { in ImportItemStarted()
225 case importer::FAVORITES: in ImportItemStarted()
228 case importer::SEARCH_ENGINES: in ImportItemStarted()
231 case importer::PASSWORDS: in ImportItemStarted()
234 case importer::HISTORY: in ImportItemStarted()
[all …]
/external/chromium/chrome/browser/ui/cocoa/importer/
Dimport_progress_dialog_cocoa.mm5 #import "chrome/browser/ui/cocoa/importer/import_progress_dialog_cocoa.h"
13 #include "chrome/browser/importer/importer_host.h"
14 #include "chrome/browser/importer/importer_observer.h"
25 NSString* keyForImportItem(importer::ImportItem item) {
27 case importer::HISTORY:
29 case importer::FAVORITES:
31 case importer::PASSWORDS:
33 case importer::SEARCH_ENGINES:
88 [self setFavoritesImportEnabled:items & importer::FAVORITES ? active :
90 [self setSearchImportEnabled:items & importer::SEARCH_ENGINES ? active :
[all …]
Dimport_progress_dialog_cocoa.h67 - (void)ImportItemStarted:(importer::ImportItem)item;
68 - (void)ImportItemEnded:(importer::ImportItem)item;
74 class ImporterObserverBridge : public importer::ImporterProgressObserver {
82 virtual void ImportItemStarted(importer::ImportItem item) OVERRIDE;
83 virtual void ImportItemEnded(importer::ImportItem item) OVERRIDE;
Dimport_lock_dialog_cocoa.mm9 #include "chrome/browser/importer/importer_host.h"
10 #include "chrome/browser/importer/importer_lock_dialog.h"
16 namespace importer {
40 } // namespace importer
/external/javassist/sample/rmi/
DCountApplet.java12 private ObjectImporter importer; field in CountApplet
23 importer = new ObjectImporter(this); in init()
34 importer = new ObjectImporter(cl.getServer(), cl.getPort()); in applicationInit()
53 counter = (Counter)importer.lookupObject(paramName); in start()

1234