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

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

Issue 8680040: Group forms-related files in webkit/glue in a forms/ subdirectory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + another build fix Created 9 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 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_EXTERNAL_PROCESS_IMPORTER_CLIENT_H_ 5 #ifndef CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_CLIENT_H_
6 #define CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_CLIENT_H_ 6 #define CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_CLIENT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 const std::vector<history::URLRow>& history_rows_group, 69 const std::vector<history::URLRow>& history_rows_group,
70 int visit_source); 70 int visit_source);
71 void OnHomePageImportReady(const GURL& home_page); 71 void OnHomePageImportReady(const GURL& home_page);
72 void OnBookmarksImportStart(const string16& first_folder_name, 72 void OnBookmarksImportStart(const string16& first_folder_name,
73 size_t total_bookmarks_count); 73 size_t total_bookmarks_count);
74 void OnBookmarksImportGroup( 74 void OnBookmarksImportGroup(
75 const std::vector<ProfileWriter::BookmarkEntry>& bookmarks_group); 75 const std::vector<ProfileWriter::BookmarkEntry>& bookmarks_group);
76 void OnFaviconsImportStart(size_t total_favicons_count); 76 void OnFaviconsImportStart(size_t total_favicons_count);
77 void OnFaviconsImportGroup( 77 void OnFaviconsImportGroup(
78 const std::vector<history::ImportedFaviconUsage>& favicons_group); 78 const std::vector<history::ImportedFaviconUsage>& favicons_group);
79 void OnPasswordFormImportReady(const webkit_glue::PasswordForm& form); 79 void OnPasswordFormImportReady(const webkit::forms::PasswordForm& form);
80 void OnKeywordsImportReady( 80 void OnKeywordsImportReady(
81 const std::vector<TemplateURL>& template_urls, 81 const std::vector<TemplateURL>& template_urls,
82 int default_keyword_index, 82 int default_keyword_index,
83 bool unique_on_host_and_path); 83 bool unique_on_host_and_path);
84 84
85 private: 85 private:
86 // These variables store data being collected from the importer until the 86 // These variables store data being collected from the importer until the
87 // entire group has been collected and is ready to be written to the profile. 87 // entire group has been collected and is ready to be written to the profile.
88 std::vector<history::URLRow> history_rows_; 88 std::vector<history::URLRow> history_rows_;
89 std::vector<ProfileWriter::BookmarkEntry> bookmarks_; 89 std::vector<ProfileWriter::BookmarkEntry> bookmarks_;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 // destructor. 121 // destructor.
122 InProcessImporterBridge* bridge_; 122 InProcessImporterBridge* bridge_;
123 123
124 // True if import process has been cancelled. 124 // True if import process has been cancelled.
125 bool cancelled_; 125 bool cancelled_;
126 126
127 DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterClient); 127 DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterClient);
128 }; 128 };
129 129
130 #endif // CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_CLIENT_H_ 130 #endif // CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_CLIENT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698