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

Side by Side Diff: chrome/browser/importer/external_process_importer_bridge.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_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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 virtual void SetFavicons( 47 virtual void SetFavicons(
48 const std::vector<history::ImportedFaviconUsage>& favicons) OVERRIDE; 48 const std::vector<history::ImportedFaviconUsage>& favicons) OVERRIDE;
49 49
50 virtual void SetHistoryItems(const std::vector<history::URLRow>& rows, 50 virtual void SetHistoryItems(const std::vector<history::URLRow>& rows,
51 history::VisitSource visit_source) OVERRIDE; 51 history::VisitSource visit_source) OVERRIDE;
52 52
53 virtual void SetKeywords(const std::vector<TemplateURL*>& template_urls, 53 virtual void SetKeywords(const std::vector<TemplateURL*>& template_urls,
54 int default_keyword_index, 54 int default_keyword_index,
55 bool unique_on_host_and_path) OVERRIDE; 55 bool unique_on_host_and_path) OVERRIDE;
56 56
57 virtual void SetPasswordForm(const webkit_glue::PasswordForm& form) OVERRIDE; 57 virtual void SetPasswordForm(
58 const webkit::forms::PasswordForm& form) OVERRIDE;
58 59
59 virtual void NotifyStarted() OVERRIDE; 60 virtual void NotifyStarted() OVERRIDE;
60 virtual void NotifyItemStarted(importer::ImportItem item) OVERRIDE; 61 virtual void NotifyItemStarted(importer::ImportItem item) OVERRIDE;
61 virtual void NotifyItemEnded(importer::ImportItem item) OVERRIDE; 62 virtual void NotifyItemEnded(importer::ImportItem item) OVERRIDE;
62 virtual void NotifyEnded() OVERRIDE; 63 virtual void NotifyEnded() OVERRIDE;
63 64
64 virtual string16 GetLocalizedString(int message_id) OVERRIDE; 65 virtual string16 GetLocalizedString(int message_id) OVERRIDE;
65 // End ImporterBridge implementation. 66 // End ImporterBridge implementation.
66 67
67 private: 68 private:
68 virtual ~ExternalProcessImporterBridge(); 69 virtual ~ExternalProcessImporterBridge();
69 70
70 bool Send(IPC::Message* message); 71 bool Send(IPC::Message* message);
71 72
72 // Holds strings needed by the external importer because the resource 73 // Holds strings needed by the external importer because the resource
73 // bundle isn't available to the external process. 74 // bundle isn't available to the external process.
74 scoped_ptr<base::DictionaryValue> localized_strings_; 75 scoped_ptr<base::DictionaryValue> localized_strings_;
75 76
76 IPC::Message::Sender* sender_; 77 IPC::Message::Sender* sender_;
77 78
78 DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterBridge); 79 DISALLOW_COPY_AND_ASSIGN(ExternalProcessImporterBridge);
79 }; 80 };
80 81
81 #endif // CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_ 82 #endif // CHROME_BROWSER_IMPORTER_EXTERNAL_PROCESS_IMPORTER_BRIDGE_H_
OLDNEW
« no previous file with comments | « chrome/browser/automation/testing_automation_provider.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