summaryrefslogtreecommitdiffstats
path: root/components/autofill
diff options
context:
space:
mode:
authorblundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-07 15:20:46 +0000
committerblundell@chromium.org <blundell@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-06-07 15:20:46 +0000
commit758c70279a6ec477a922d90ec18eb49f71a05ce7 (patch)
tree2593866b0946506225737add43162bce2c293cce /components/autofill
parentf9f4d2d0dbdbd088e565c3fe7fe218b5e7da9748 (diff)
downloadchromium_src-758c70279a6ec477a922d90ec18eb49f71a05ce7.zip
chromium_src-758c70279a6ec477a922d90ec18eb49f71a05ce7.tar.gz
chromium_src-758c70279a6ec477a922d90ec18eb49f71a05ce7.tar.bz2
In components/autofill, move browser/risk/ to content/browser/risk/
This change is part of moving components/autofill into its eventual structure as a layered component. This CL additionally creates the autofill_content_browser target and renames the autofill_risk_proto target to autofill_content_risk_proto. TBR=joi, darin, benm BUG=247015 Review URL: https://chromiumcodereview.appspot.com/16363003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@204842 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'components/autofill')
-rw-r--r--components/autofill/content/browser/DEPS59
-rw-r--r--components/autofill/content/browser/risk/fingerprint.cc (renamed from components/autofill/browser/risk/fingerprint.cc)6
-rw-r--r--components/autofill/content/browser/risk/fingerprint.h (renamed from components/autofill/browser/risk/fingerprint.h)8
-rw-r--r--components/autofill/content/browser/risk/proto/fingerprint.proto (renamed from components/autofill/browser/risk/proto/fingerprint.proto)2
4 files changed, 67 insertions, 8 deletions
diff --git a/components/autofill/content/browser/DEPS b/components/autofill/content/browser/DEPS
new file mode 100644
index 0000000..74e13c4
--- /dev/null
+++ b/components/autofill/content/browser/DEPS
@@ -0,0 +1,59 @@
+include_rules = [
+ "+components/webdata/common",
+ "+content/public/browser",
+ "+crypto/random.h",
+ "+google_apis/gaia",
+ "+google_apis/google_api_keys.h",
+ "+gpu/config/gpu_info.h",
+ "+net",
+ "+sql",
+ "+third_party/libjingle",
+ "+third_party/libphonenumber", # For phone number i18n.
+ "+webkit/plugins/webplugininfo.h",
+
+ # TODO(joi): This is "ok" temporarily (it's just a header file with
+ # a large enum, and doesn't bring in any other dependencies on
+ # //chrome). The plan of record to get rid of this is to change
+ # Autofill and WebData to not use NotificationService, and instead
+ # use typed callback interfaces or allow registering base::Callback
+ # callbacks for each event.
+ "!chrome/common/chrome_notification_types.h",
+
+ # TODO(akalin): Remove this dependency.
+ "!sync/util/data_encryption_win.h",
+]
+
+specific_include_rules = {
+ '.*_[a-z]*test\.cc': [
+ "+content/public/test",
+
+ # TODO(joi, kaiwang): Bring this list to zero.
+ #
+ # Do not add to the list of temporarily-allowed dependencies below,
+ # and please do not introduce more #includes of these files.
+ "!chrome/browser/autofill/autofill_cc_infobar_delegate.h",
+ "!chrome/browser/autofill/personal_data_manager_factory.h",
+ "!chrome/browser/password_manager/encryptor.h",
+ "!chrome/browser/password_manager/password_manager.h",
+ "!chrome/browser/password_manager/password_manager_delegate_impl.h",
+ "!chrome/browser/profiles/profile.h",
+ "!chrome/browser/sync/profile_sync_service.h",
+ "!chrome/browser/sync/profile_sync_service_factory.h",
+ "!chrome/browser/translate/translate_infobar_delegate.h",
+ "!chrome/browser/translate/translate_manager.h",
+ "!chrome/browser/ui/autofill/tab_autofill_manager_delegate.h",
+ "!chrome/browser/ui/browser.h",
+ "!chrome/browser/ui/browser_tabstrip.h",
+ "!chrome/browser/ui/browser_window.h",
+ "!chrome/browser/ui/tabs/tab_strip_model.h",
+ "!chrome/browser/webdata/web_data_service.h",
+ "!chrome/browser/webdata/web_data_service_factory.h",
+ "!chrome/browser/webdata/web_data_service_test_util.h",
+ "!chrome/common/chrome_constants.h",
+ "!chrome/common/chrome_paths.h",
+ "!chrome/common/pref_names.h",
+ "!chrome/common/render_messages.h",
+ "!chrome/common/url_constants.h",
+ "!chrome/test/base",
+ ],
+}
diff --git a/components/autofill/browser/risk/fingerprint.cc b/components/autofill/content/browser/risk/fingerprint.cc
index 1d37e9a..3472063 100644
--- a/components/autofill/browser/risk/fingerprint.cc
+++ b/components/autofill/content/browser/risk/fingerprint.cc
@@ -1,4 +1,4 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -10,7 +10,7 @@
// data. Step (1) requires waiting on several asynchronous callbacks, which are
// managed by the FingerprintDataLoader class.
-#include "components/autofill/browser/risk/fingerprint.h"
+#include "components/autofill/content/browser/risk/fingerprint.h"
#include "base/bind.h"
#include "base/callback.h"
@@ -21,7 +21,7 @@
#include "base/time.h"
#include "base/utf_string_conversions.h"
#include "base/values.h"
-#include "components/autofill/browser/risk/proto/fingerprint.pb.h"
+#include "components/autofill/content/browser/risk/proto/fingerprint.pb.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/font_list_async.h"
#include "content/public/browser/geolocation_provider.h"
diff --git a/components/autofill/browser/risk/fingerprint.h b/components/autofill/content/browser/risk/fingerprint.h
index 1e1fc65..7aa83b1 100644
--- a/components/autofill/browser/risk/fingerprint.h
+++ b/components/autofill/content/browser/risk/fingerprint.h
@@ -1,4 +1,4 @@
-// Copyright 2012 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//
@@ -9,8 +9,8 @@
// generated with explicit user consent, including consent to gather geolocation
// data.
-#ifndef COMPONENTS_AUTOFILL_BROWSER_RISK_FINGERPRINT_H_
-#define COMPONENTS_AUTOFILL_BROWSER_RISK_FINGERPRINT_H_
+#ifndef COMPONENTS_AUTOFILL_CONTENT_BROWSER_RISK_FINGERPRINT_H_
+#define COMPONENTS_AUTOFILL_CONTENT_BROWSER_RISK_FINGERPRINT_H_
#include <string>
@@ -65,4 +65,4 @@ void GetFingerprint(
} // namespace risk
} // namespace autofill
-#endif // COMPONENTS_AUTOFILL_BROWSER_RISK_FINGERPRINT_H_
+#endif // COMPONENTS_AUTOFILL_CONTENT_BROWSER_RISK_FINGERPRINT_H_
diff --git a/components/autofill/browser/risk/proto/fingerprint.proto b/components/autofill/content/browser/risk/proto/fingerprint.proto
index 4256084..5cacd76 100644
--- a/components/autofill/browser/risk/proto/fingerprint.proto
+++ b/components/autofill/content/browser/risk/proto/fingerprint.proto
@@ -1,4 +1,4 @@
-// Copyright (c) 2012 The Chromium Authors. All rights reserved.
+// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
//