Commit 64bbf51c authored by blundell@chromium.org's avatar blundell@chromium.org

Move ContentAutofillDriver to the PasswordManager component.

As ContentAutofillDriver is the //content-based driver implementation for the
PasswordManager component, it belongs within the component itself rather than
in the //chrome embedder of the component.

BUG=348515
R=dubroy@chromium.org
TBR=darin

Review URL: https://codereview.chromium.org/192633002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255932 0039d316-1c4b-4281-b951-d872f2087c98
parent 4b1ab4dc
......@@ -7,7 +7,7 @@
#include "base/basictypes.h"
#include "base/compiler_specific.h"
#include "chrome/browser/password_manager/content_password_manager_driver.h"
#include "components/password_manager/content/browser/content_password_manager_driver.h"
#include "components/password_manager/core/browser/password_manager_client.h"
#include "content/public/browser/web_contents_observer.h"
#include "content/public/browser/web_contents_user_data.h"
......
......@@ -1479,8 +1479,6 @@
'browser/parsers/metadata_parser_manager.h',
'browser/password_manager/chrome_password_manager_client.cc',
'browser/password_manager/chrome_password_manager_client.h',
'browser/password_manager/content_password_manager_driver.cc',
'browser/password_manager/content_password_manager_driver.h',
'browser/password_manager/native_backend_gnome_x.cc',
'browser/password_manager/native_backend_gnome_x.h',
'browser/password_manager/native_backend_kwallet_x.cc',
......@@ -2633,6 +2631,7 @@
'../components/components.gyp:browser_context_keyed_service',
'../components/components.gyp:dom_distiller_content',
'../components/components.gyp:navigation_interception',
'../components/components.gyp:password_manager_content_browser',
'../components/components.gyp:precache_content',
'../components/components.gyp:sessions',
'../components/components.gyp:storage_monitor',
......
......@@ -124,4 +124,32 @@
],
},
],
'conditions': [
['OS != "ios"', {
'targets': [
{
'target_name': 'password_manager_content_browser',
'type': 'static_library',
'dependencies': [
'autofill_content_browser',
'autofill_content_common',
'autofill_core_common',
'password_manager_core_browser',
'../base/base.gyp:base',
'../content/content.gyp:content_browser',
'../content/content.gyp:content_common',
'../ipc/ipc.gyp:ipc',
'../net/net.gyp:net',
],
'include_dirs': [
'..',
],
'sources': [
'password_manager/content/browser/content_password_manager_driver.cc',
'password_manager/content/browser/content_password_manager_driver.h',
],
},
],
}],
],
}
include_rules = [
"+components/autofill/content/common",
"+components/autofill/core/common",
"+content/public/common",
# Allow inclusion of WebKit API files.
"+third_party/WebKit/public/platform",
"+third_party/WebKit/public/web",
"+ipc",
]
specific_include_rules = {
'.*_[a-z]*test\.cc': [
"+content/public/test",
],
}
include_rules = [
"+components/autofill/content/browser",
"+content/public/browser",
"+net",
]
......@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "chrome/browser/password_manager/content_password_manager_driver.h"
#include "components/password_manager/content/browser/content_password_manager_driver.h"
#include "components/autofill/content/browser/autofill_driver_impl.h"
#include "components/autofill/content/common/autofill_messages.h"
......
......@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_BROWSER_PASSWORD_MANAGER_CONTENT_PASSWORD_MANAGER_DRIVER_H_
#define CHROME_BROWSER_PASSWORD_MANAGER_CONTENT_PASSWORD_MANAGER_DRIVER_H_
#ifndef COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRIVER_H_
#define COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRIVER_H_
#include "base/basictypes.h"
#include "base/compiler_specific.h"
......@@ -54,4 +54,4 @@ class ContentPasswordManagerDriver : public PasswordManagerDriver,
DISALLOW_COPY_AND_ASSIGN(ContentPasswordManagerDriver);
};
#endif // CHROME_BROWSER_PASSWORD_MANAGER_CONTENT_PASSWORD_MANAGER_DRIVER_H_
#endif // COMPONENTS_PASSWORD_MANAGER_CONTENT_BROWSER_CONTENT_PASSWORD_MANAGER_DRIVER_H_
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment