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

Side by Side Diff: chrome/browser/importer/external_process_importer_bridge.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_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_ 5 #ifndef CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_
6 #define CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_ 6 #define CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <vector> 9 #include <vector>
10 10
(...skipping 13 matching lines...) Expand all
24 // internal bridge gathers the data from the IPC host and writes it to the 24 // internal bridge gathers the data from the IPC host and writes it to the
25 // profile. 25 // profile.
26 class ExternalProcessImporterBridge : public ImporterBridge { 26 class ExternalProcessImporterBridge : public ImporterBridge {
27 public: 27 public:
28 ExternalProcessImporterBridge(ProfileImportThread* profile_import_thread, 28 ExternalProcessImporterBridge(ProfileImportThread* profile_import_thread,
29 const DictionaryValue& localized_strings); 29 const DictionaryValue& localized_strings);
30 30
31 // Begin ImporterBridge implementation: 31 // Begin ImporterBridge implementation:
32 virtual void AddBookmarks( 32 virtual void AddBookmarks(
33 const std::vector<ProfileWriter::BookmarkEntry>& bookmarks, 33 const std::vector<ProfileWriter::BookmarkEntry>& bookmarks,
34 const string16& first_folder_name, 34 const string16& first_folder_name) OVERRIDE;
35 int options) OVERRIDE;
36 35
37 virtual void AddHomePage(const GURL& home_page) OVERRIDE; 36 virtual void AddHomePage(const GURL& home_page) OVERRIDE;
38 37
39 #if defined(OS_WIN) 38 #if defined(OS_WIN)
40 virtual void AddIE7PasswordInfo( 39 virtual void AddIE7PasswordInfo(
41 const IE7PasswordInfo& password_info) OVERRIDE; 40 const IE7PasswordInfo& password_info) OVERRIDE;
42 #endif 41 #endif
43 42
44 virtual void SetFavicons( 43 virtual void SetFavicons(
45 const std::vector<history::ImportedFaviconUsage>& favicons) OVERRIDE; 44 const std::vector<history::ImportedFaviconUsage>& favicons) OVERRIDE;
(...skipping 22 matching lines...) Expand all
68 ProfileImportThread* const profile_import_thread_; 67 ProfileImportThread* const profile_import_thread_;
69 68
70 // Holds strings needed by the external importer because the resource 69 // Holds strings needed by the external importer because the resource
71 // bundle isn't available to the external process. 70 // bundle isn't available to the external process.
72 scoped_ptr<DictionaryValue> localized_strings_; 71 scoped_ptr<DictionaryValue> localized_strings_;
73 72
74 DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterBridge); 73 DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterBridge);
75 }; 74 };
76 75
77 #endif // CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_ 76 #endif // CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_html_writer_unittest.cc ('k') | chrome/browser/importer/external_process_importer_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698