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

Side by Side Diff: chrome/browser/importer/profile_import_process_client.h

Issue 6979007: Many fixes to bookmark importing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Happy tests =) Created 9 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_IMPORTER_PROFILE_IMPORT_PROCESS_CLIENT_H_ 5 #ifndef CHROME_BROWSER_IMPORTER_PROFILE_IMPORT_PROCESS_CLIENT_H_
6 #define CHROME_BROWSER_IMPORTER_PROFILE_IMPORT_PROCESS_CLIENT_H_ 6 #define CHROME_BROWSER_IMPORTER_PROFILE_IMPORT_PROCESS_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
50 // These methods pass back data to be written to the user's profile from 50 // These methods pass back data to be written to the user's profile from
51 // the external process to the process host client. 51 // the external process to the process host client.
52 virtual void OnHistoryImportStart(size_t total_history_rows_count); 52 virtual void OnHistoryImportStart(size_t total_history_rows_count);
53 virtual void OnHistoryImportGroup( 53 virtual void OnHistoryImportGroup(
54 const std::vector<history::URLRow>& history_rows_group, 54 const std::vector<history::URLRow>& history_rows_group,
55 int visit_source); // visit_source has history::VisitSource type. 55 int visit_source); // visit_source has history::VisitSource type.
56 56
57 virtual void OnHomePageImportReady(const GURL& home_page); 57 virtual void OnHomePageImportReady(const GURL& home_page);
58 58
59 virtual void OnBookmarksImportStart(const string16& first_folder_name, 59 virtual void OnBookmarksImportStart(const string16& first_folder_name,
60 int options,
61 size_t total_bookmarks_count); 60 size_t total_bookmarks_count);
62 virtual void OnBookmarksImportGroup( 61 virtual void OnBookmarksImportGroup(
63 const std::vector<ProfileWriter::BookmarkEntry>& bookmarks); 62 const std::vector<ProfileWriter::BookmarkEntry>& bookmarks);
64 63
65 virtual void OnFaviconsImportStart(size_t total_favicons_count); 64 virtual void OnFaviconsImportStart(size_t total_favicons_count);
66 virtual void OnFaviconsImportGroup( 65 virtual void OnFaviconsImportGroup(
67 const std::vector<history::ImportedFaviconUsage>& favicons_group); 66 const std::vector<history::ImportedFaviconUsage>& favicons_group);
68 67
69 virtual void OnPasswordFormImportReady( 68 virtual void OnPasswordFormImportReady(
70 const webkit_glue::PasswordForm& form); 69 const webkit_glue::PasswordForm& form);
(...skipping 10 matching lines...) Expand all
81 80
82 virtual ~ProfileImportProcessClient(); 81 virtual ~ProfileImportProcessClient();
83 82
84 private: 83 private:
85 friend class ProfileImportProcessHost; 84 friend class ProfileImportProcessHost;
86 85
87 DISALLOW_COPY_AND_ASSIGN(ProfileImportProcessClient); 86 DISALLOW_COPY_AND_ASSIGN(ProfileImportProcessClient);
88 }; 87 };
89 88
90 #endif // CHROME_BROWSER_IMPORTER_PROFILE_IMPORT_PROCESS_CLIENT_H_ 89 #endif // CHROME_BROWSER_IMPORTER_PROFILE_IMPORT_PROCESS_CLIENT_H_
OLDNEW
« no previous file with comments | « chrome/browser/importer/in_process_importer_bridge.cc ('k') | chrome/browser/importer/profile_import_process_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698