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

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

Issue 7056033: Style cleanup in bookmarks import code (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix unit 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
« no previous file with comments | « no previous file | chrome/browser/importer/external_process_importer_bridge.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 11 matching lines...) Expand all
22 // split in half by the IPC infrastructure. The external bridge receives data 22 // split in half by the IPC infrastructure. The external bridge receives data
23 // and notifications from the importer, and sends it across IPC. The 23 // and notifications from the importer, and sends it across IPC. The
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 AddBookmarkEntries( 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,
35 int options) OVERRIDE; 35 int options) OVERRIDE;
36 36
37 virtual void AddHomePage(const GURL& home_page) OVERRIDE; 37 virtual void AddHomePage(const GURL& home_page) OVERRIDE;
38 38
39 #if defined(OS_WIN) 39 #if defined(OS_WIN)
40 virtual void AddIE7PasswordInfo( 40 virtual void AddIE7PasswordInfo(
41 const IE7PasswordInfo& password_info) OVERRIDE; 41 const IE7PasswordInfo& password_info) OVERRIDE;
42 #endif 42 #endif
(...skipping 25 matching lines...) Expand all
68 ProfileImportThread* const profile_import_thread_; 68 ProfileImportThread* const profile_import_thread_;
69 69
70 // Holds strings needed by the external importer because the resource 70 // Holds strings needed by the external importer because the resource
71 // bundle isn't available to the external process. 71 // bundle isn't available to the external process.
72 scoped_ptr<DictionaryValue> localized_strings_; 72 scoped_ptr<DictionaryValue> localized_strings_;
73 73
74 DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterBridge); 74 DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterBridge);
75 }; 75 };
76 76
77 #endif // CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_ 77 #endif // CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/importer/external_process_importer_bridge.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698