summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-04 22:07:54 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-04 22:07:54 +0000
commit5d3e4b9a6dd76360e609cfe0bfadf30a47b216ec (patch)
tree12f097adc7711ea361b7b80bd93d9e2f18853213 /chrome
parent6bcf02504ed906d4f71acf260d045a6f82ced389 (diff)
downloadchromium_src-5d3e4b9a6dd76360e609cfe0bfadf30a47b216ec.zip
chromium_src-5d3e4b9a6dd76360e609cfe0bfadf30a47b216ec.tar.gz
chromium_src-5d3e4b9a6dd76360e609cfe0bfadf30a47b216ec.tar.bz2
Make autofill_manager compile on POSIX.
Review URL: http://codereview.chromium.org/22002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9176 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/browser/browser.scons1
-rw-r--r--chrome/browser/tab_contents/web_contents.cc4
-rw-r--r--chrome/chrome.xcodeproj/project.pbxproj4
-rw-r--r--chrome/common/temp_scaffolding_stubs.h8
4 files changed, 6 insertions, 11 deletions
diff --git a/chrome/browser/browser.scons b/chrome/browser/browser.scons
index 1513494..2b4cfa8 100644
--- a/chrome/browser/browser.scons
+++ b/chrome/browser/browser.scons
@@ -663,7 +663,6 @@ input_files = ChromeFileList([
if not env.Bit('windows'):
# TODO: Port these.
input_files.Remove(
- 'autofill_manager.cc',
'alternate_nav_url_fetcher.cc',
'app_modal_dialog_queue.cc',
'autocomplete/autocomplete.cc',
diff --git a/chrome/browser/tab_contents/web_contents.cc b/chrome/browser/tab_contents/web_contents.cc
index 3f4bab9..eadb3d6 100644
--- a/chrome/browser/tab_contents/web_contents.cc
+++ b/chrome/browser/tab_contents/web_contents.cc
@@ -10,6 +10,7 @@
#include "base/process_util.h"
#include "base/string_util.h"
#include "chrome/app/locales/locale_settings.h"
+#include "chrome/browser/autofill_manager.h"
#include "chrome/browser/browser.h"
#include "chrome/browser/dom_operation_notification_details.h"
#include "chrome/browser/google_util.h"
@@ -18,6 +19,7 @@
#include "chrome/browser/load_from_memory_cache_details.h"
#include "chrome/browser/profile.h"
#include "chrome/browser/renderer_host/render_process_host.h"
+#include "chrome/browser/renderer_host/render_view_host.h"
#include "chrome/browser/search_engines/template_url_model.h"
#include "chrome/browser/tab_contents/provisional_load_details.h"
#include "chrome/common/chrome_switches.h"
@@ -32,7 +34,6 @@
#if defined(OS_WIN)
// TODO(port): fill these in as we flesh out the implementation of this class
-#include "chrome/browser/autofill_manager.h"
#include "chrome/browser/bookmarks/bookmark_model.h"
#include "chrome/browser/cache_manager_host.h"
#include "chrome/browser/character_encoding.h"
@@ -45,7 +46,6 @@
#include "chrome/browser/plugin_installer.h"
#include "chrome/browser/plugin_service.h"
#include "chrome/browser/printing/print_job.h"
-#include "chrome/browser/renderer_host/render_view_host.h"
#include "chrome/browser/renderer_host/render_widget_host_view.h"
#include "chrome/browser/search_engines/template_url_fetcher.h"
#include "chrome/browser/tab_contents/navigation_entry.h"
diff --git a/chrome/chrome.xcodeproj/project.pbxproj b/chrome/chrome.xcodeproj/project.pbxproj
index 9bc9a4d..45d4e33 100644
--- a/chrome/chrome.xcodeproj/project.pbxproj
+++ b/chrome/chrome.xcodeproj/project.pbxproj
@@ -204,6 +204,7 @@
4DDC64580EAE394200FB5EBE /* libzlib.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 4DDC64550EAE392400FB5EBE /* libzlib.a */; };
534E66C40F311BEC0006B2B2 /* temp_scaffolding_stubs.cc in Sources */ = {isa = PBXBuildFile; fileRef = 534E66C30F311BEC0006B2B2 /* temp_scaffolding_stubs.cc */; };
671555F7DF06E224B646E5D2 /* backing_store_posix.cc in Sources */ = {isa = PBXBuildFile; fileRef = B94B5B0CBF4D7FAC48BB1AE2 /* backing_store_posix.cc */; };
+ 6D62D71064BA3204EF0A964A /* autofill_manager.cc in Sources */ = {isa = PBXBuildFile; fileRef = 629BF493DEA096E2DD844F2B /* autofill_manager.cc */; };
8268477E0F2F69C8009F6555 /* profile_manager_unittest.cc in Sources */ = {isa = PBXBuildFile; fileRef = 4D7BF8E60E9D4839009A6919 /* profile_manager_unittest.cc */; };
8268477F0F2F69D1009F6555 /* profile_manager.cc in Sources */ = {isa = PBXBuildFile; fileRef = 4D7BF8E40E9D4839009A6919 /* profile_manager.cc */; };
826847800F2F69D1009F6555 /* profile.cc in Sources */ = {isa = PBXBuildFile; fileRef = 4D7BF8E20E9D4839009A6919 /* profile.cc */; };
@@ -1865,6 +1866,7 @@
4DCE9E2C0EF0B8C000682526 /* English */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = English; path = English.lproj/MainMenu.xib; sourceTree = "<group>"; };
4DDC64500EAE392400FB5EBE /* zlib.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = zlib.xcodeproj; path = third_party/zlib/zlib.xcodeproj; sourceTree = "<group>"; };
534E66C30F311BEC0006B2B2 /* temp_scaffolding_stubs.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = temp_scaffolding_stubs.cc; sourceTree = "<group>"; };
+ 629BF493DEA096E2DD844F2B /* autofill_manager.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = autofill_manager.cc; sourceTree = "<group>"; };
6447F24FADC63E58A44DB762 /* url_pattern.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = url_pattern.cc; path = common/extensions/url_pattern.cc; sourceTree = SOURCE_ROOT; };
778D7927798B7E3FAA498D3D /* url_fetcher.cc */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = url_fetcher.cc; sourceTree = "<group>"; };
8104B4AFD95DCA06B2F37551 /* chrome_paths_internal.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = chrome_paths_internal.h; sourceTree = "<group>"; };
@@ -2540,6 +2542,7 @@
E46C45990F1F88D100B393B8 /* app_controller_mac.mm */,
4D7BF8260E9D4839009A6919 /* app_modal_dialog_queue.cc */,
4D7BF8270E9D4839009A6919 /* app_modal_dialog_queue.h */,
+ 629BF493DEA096E2DD844F2B /* autofill_manager.cc */,
4D7BF8280E9D4839009A6919 /* back_forward_menu_model.cc */,
4D7BF8290E9D4839009A6919 /* back_forward_menu_model.h */,
4D7BF82A0E9D4839009A6919 /* back_forward_menu_model_unittest.cc */,
@@ -4537,6 +4540,7 @@
files = (
4D7BFA1E0E9D48FD009A6919 /* archived_database.cc in Sources */,
E45075DC0F150A53003BE099 /* async_resource_handler.cc in Sources */,
+ 6D62D71064BA3204EF0A964A /* autofill_manager.cc in Sources */,
E43A770B0F1660EA00ABD5D1 /* automation_resource_tracker.cc in Sources */,
E434BFD90F3A074300B665C7 /* backing_store.cc in Sources */,
671555F7DF06E224B646E5D2 /* backing_store_posix.cc in Sources */,
diff --git a/chrome/common/temp_scaffolding_stubs.h b/chrome/common/temp_scaffolding_stubs.h
index fe3dc2a..a517651 100644
--- a/chrome/common/temp_scaffolding_stubs.h
+++ b/chrome/common/temp_scaffolding_stubs.h
@@ -957,14 +957,6 @@ class FavIconHelper {
void FetchFavIcon(const GURL&) { NOTIMPLEMENTED(); }
};
-class AutofillManager {
- public:
- AutofillManager(WebContents*) { }
- void AutofillFormSubmitted(const AutofillForm&) { NOTIMPLEMENTED(); }
- void FetchValuesForName(const std::wstring&, const std::wstring&, int,
- int64, int) { NOTIMPLEMENTED(); }
-};
-
class PasswordManager {
public:
PasswordManager(WebContents*) { }