summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-21 15:40:09 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-21 15:40:09 +0000
commit908cb9e81ae5e637ed8542cafebdc3d7096b892a (patch)
tree0f79b0a1c13340d33910cdb93e7ddc7d2e1b3b0e /chrome/browser
parent5fbda6c7d927da54f97ca0a197d01c9774136ebb (diff)
downloadchromium_src-908cb9e81ae5e637ed8542cafebdc3d7096b892a.zip
chromium_src-908cb9e81ae5e637ed8542cafebdc3d7096b892a.tar.gz
chromium_src-908cb9e81ae5e637ed8542cafebdc3d7096b892a.tar.bz2
Move encryptor API out of webdata.
This justs moves encryptor out of components/webdata/encryptor one layer up to components/encryptor. BUG=341293 TEST=None R=thestig@chromium.org,joi@chromium.org,bcwhite@chromium.org TBR=rvargas Review URL: https://codereview.chromium.org/168993002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@252563 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/DEPS3
-rw-r--r--chrome/browser/importer/ie_importer_browsertest_win.cc2
-rw-r--r--chrome/browser/importer/in_process_importer_bridge.cc2
-rw-r--r--chrome/browser/net/cookie_store_util.cc2
-rw-r--r--chrome/browser/password_manager/password_store_win.cc2
-rw-r--r--chrome/browser/password_manager/password_store_win_unittest.cc2
-rw-r--r--chrome/browser/services/gcm/gcm_profile_service.cc1
-rw-r--r--chrome/browser/services/gcm/gcm_profile_service_unittest.cc2
-rw-r--r--chrome/browser/signin/local_auth.cc2
-rw-r--r--chrome/browser/signin/local_auth_unittest.cc2
-rw-r--r--chrome/browser/signin/mutable_profile_oauth2_token_service_unittest.cc2
-rw-r--r--chrome/browser/signin/signin_manager_unittest.cc1
-rw-r--r--chrome/browser/sync/test/integration/sync_test.cc2
-rw-r--r--chrome/browser/webdata/logins_table_win.cc2
-rw-r--r--chrome/browser/webdata/web_data_service_win.cc2
15 files changed, 14 insertions, 15 deletions
diff --git a/chrome/browser/DEPS b/chrome/browser/DEPS
index 0329868..d65938c 100644
--- a/chrome/browser/DEPS
+++ b/chrome/browser/DEPS
@@ -12,6 +12,7 @@ include_rules = [
"+components/breakpad",
"+components/browser_context_keyed_service",
"+components/dom_distiller",
+ "+components/encryptor",
"+components/language_usage_metrics",
"+components/nacl/browser",
"+components/nacl/common",
@@ -30,8 +31,8 @@ include_rules = [
"+components/translate/core/common",
"+components/url_matcher",
"+components/user_prefs",
- "+components/webdata",
"+components/web_modal",
+ "+components/webdata/common",
"+content/public/browser",
"+content/test/net",
"+device/bluetooth",
diff --git a/chrome/browser/importer/ie_importer_browsertest_win.cc b/chrome/browser/importer/ie_importer_browsertest_win.cc
index 39f5e96..33bf646 100644
--- a/chrome/browser/importer/ie_importer_browsertest_win.cc
+++ b/chrome/browser/importer/ie_importer_browsertest_win.cc
@@ -44,7 +44,7 @@
#include "chrome/test/base/in_process_browser_test.h"
#include "chrome/test/base/testing_profile.h"
#include "components/autofill/core/common/password_form.h"
-#include "components/webdata/encryptor/ie7_password_win.h"
+#include "components/encryptor/ie7_password_win.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace {
diff --git a/chrome/browser/importer/in_process_importer_bridge.cc b/chrome/browser/importer/in_process_importer_bridge.cc
index 79d118a..6cd4f88 100644
--- a/chrome/browser/importer/in_process_importer_bridge.cc
+++ b/chrome/browser/importer/in_process_importer_bridge.cc
@@ -19,7 +19,7 @@
#include "ui/base/l10n/l10n_util.h"
#if defined(OS_WIN)
-#include "components/webdata/encryptor/ie7_password_win.h"
+#include "components/encryptor/ie7_password_win.h"
#endif
#include <iterator>
diff --git a/chrome/browser/net/cookie_store_util.cc b/chrome/browser/net/cookie_store_util.cc
index 6d90e8d..0b00984 100644
--- a/chrome/browser/net/cookie_store_util.cc
+++ b/chrome/browser/net/cookie_store_util.cc
@@ -16,7 +16,7 @@
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/common/chrome_constants.h"
#include "chrome/common/chrome_switches.h"
-#include "components/webdata/encryptor/encryptor.h"
+#include "components/encryptor/encryptor.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/cookie_crypto_delegate.h"
#include "content/public/browser/cookie_store_factory.h"
diff --git a/chrome/browser/password_manager/password_store_win.cc b/chrome/browser/password_manager/password_store_win.cc
index ada21dc..7902fec 100644
--- a/chrome/browser/password_manager/password_store_win.cc
+++ b/chrome/browser/password_manager/password_store_win.cc
@@ -13,7 +13,7 @@
#include "base/strings/utf_string_conversions.h"
#include "chrome/browser/password_manager/password_manager.h"
#include "chrome/browser/webdata/web_data_service.h"
-#include "components/webdata/encryptor/ie7_password_win.h"
+#include "components/encryptor/ie7_password_win.h"
#include "content/public/browser/browser_thread.h"
using autofill::PasswordForm;
diff --git a/chrome/browser/password_manager/password_store_win_unittest.cc b/chrome/browser/password_manager/password_store_win_unittest.cc
index cd9a821..2d281a0 100644
--- a/chrome/browser/password_manager/password_store_win_unittest.cc
+++ b/chrome/browser/password_manager/password_store_win_unittest.cc
@@ -21,10 +21,10 @@
#include "chrome/browser/webdata/web_data_service.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/base/testing_profile.h"
+#include "components/encryptor/ie7_password_win.h"
#include "components/password_manager/core/browser/password_form_data.h"
#include "components/password_manager/core/browser/password_store_consumer.h"
#include "components/webdata/common/web_database_service.h"
-#include "components/webdata/encryptor/ie7_password_win.h"
#include "content/public/test/test_browser_thread.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
diff --git a/chrome/browser/services/gcm/gcm_profile_service.cc b/chrome/browser/services/gcm/gcm_profile_service.cc
index b58f7e6..5d0e1e5 100644
--- a/chrome/browser/services/gcm/gcm_profile_service.cc
+++ b/chrome/browser/services/gcm/gcm_profile_service.cc
@@ -26,7 +26,6 @@
#include "chrome/common/chrome_version_info.h"
#include "chrome/common/pref_names.h"
#include "components/user_prefs/pref_registry_syncable.h"
-#include "components/webdata/encryptor/encryptor.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_details.h"
#include "content/public/browser/notification_source.h"
diff --git a/chrome/browser/services/gcm/gcm_profile_service_unittest.cc b/chrome/browser/services/gcm/gcm_profile_service_unittest.cc
index 395fa14..241674e 100644
--- a/chrome/browser/services/gcm/gcm_profile_service_unittest.cc
+++ b/chrome/browser/services/gcm/gcm_profile_service_unittest.cc
@@ -25,7 +25,7 @@
#include "chrome/common/extensions/features/feature_channel.h"
#include "chrome/common/pref_names.h"
#include "chrome/test/base/testing_profile.h"
-#include "components/webdata/encryptor/encryptor.h"
+#include "components/encryptor/encryptor.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/notification_service.h"
#include "content/public/test/test_browser_thread_bundle.h"
diff --git a/chrome/browser/signin/local_auth.cc b/chrome/browser/signin/local_auth.cc
index 120fd00..2bff8fb 100644
--- a/chrome/browser/signin/local_auth.cc
+++ b/chrome/browser/signin/local_auth.cc
@@ -14,8 +14,8 @@
#include "chrome/browser/profiles/profile.h"
#include "chrome/browser/profiles/profile_manager.h"
#include "chrome/common/pref_names.h"
+#include "components/encryptor/encryptor.h"
#include "components/user_prefs/pref_registry_syncable.h"
-#include "components/webdata/encryptor/encryptor.h"
#include "crypto/random.h"
#include "crypto/secure_util.h"
#include "crypto/symmetric_key.h"
diff --git a/chrome/browser/signin/local_auth_unittest.cc b/chrome/browser/signin/local_auth_unittest.cc
index 3f5d7d6..55affcc 100644
--- a/chrome/browser/signin/local_auth_unittest.cc
+++ b/chrome/browser/signin/local_auth_unittest.cc
@@ -12,7 +12,7 @@
#include "chrome/test/base/testing_pref_service_syncable.h"
#include "chrome/test/base/testing_profile.h"
#include "chrome/test/base/testing_profile_manager.h"
-#include "components/webdata/encryptor/encryptor.h"
+#include "components/encryptor/encryptor.h"
#include "testing/gtest/include/gtest/gtest.h"
diff --git a/chrome/browser/signin/mutable_profile_oauth2_token_service_unittest.cc b/chrome/browser/signin/mutable_profile_oauth2_token_service_unittest.cc
index 993c838..6a921fb 100644
--- a/chrome/browser/signin/mutable_profile_oauth2_token_service_unittest.cc
+++ b/chrome/browser/signin/mutable_profile_oauth2_token_service_unittest.cc
@@ -18,7 +18,7 @@
#include "testing/gtest/include/gtest/gtest.h"
#if defined(OS_MACOSX)
-#include "components/webdata/encryptor/encryptor.h"
+#include "components/encryptor/encryptor.h"
#endif
// Defining constant here to handle backward compatiblity tests, but this
diff --git a/chrome/browser/signin/signin_manager_unittest.cc b/chrome/browser/signin/signin_manager_unittest.cc
index 5be75d3..808a386 100644
--- a/chrome/browser/signin/signin_manager_unittest.cc
+++ b/chrome/browser/signin/signin_manager_unittest.cc
@@ -24,7 +24,6 @@
#include "chrome/common/url_constants.h"
#include "chrome/test/base/testing_browser_process.h"
#include "chrome/test/base/testing_profile.h"
-#include "components/webdata/encryptor/encryptor.h"
#include "content/public/browser/child_process_security_policy.h"
#include "content/public/browser/notification_source.h"
#include "content/public/test/test_browser_thread_bundle.h"
diff --git a/chrome/browser/sync/test/integration/sync_test.cc b/chrome/browser/sync/test/integration/sync_test.cc
index b5b0f3f..3c8e85b 100644
--- a/chrome/browser/sync/test/integration/sync_test.cc
+++ b/chrome/browser/sync/test/integration/sync_test.cc
@@ -41,7 +41,7 @@
#include "chrome/common/chrome_switches.h"
#include "chrome/test/base/testing_browser_process.h"
#include "chrome/test/base/ui_test_utils.h"
-#include "components/webdata/encryptor/encryptor.h"
+#include "components/encryptor/encryptor.h"
#include "content/public/browser/web_contents.h"
#include "content/public/test/test_browser_thread.h"
#include "google_apis/gaia/gaia_urls.h"
diff --git a/chrome/browser/webdata/logins_table_win.cc b/chrome/browser/webdata/logins_table_win.cc
index 1ca767e..5b3fcca 100644
--- a/chrome/browser/webdata/logins_table_win.cc
+++ b/chrome/browser/webdata/logins_table_win.cc
@@ -7,7 +7,7 @@
#include "base/logging.h"
#include "base/strings/utf_string_conversions.h"
#include "base/time/time.h"
-#include "components/webdata/encryptor/ie7_password_win.h"
+#include "components/encryptor/ie7_password_win.h"
#include "sql/statement.h"
bool LoginsTable::AddIE7Login(const IE7PasswordInfo& info) {
diff --git a/chrome/browser/webdata/web_data_service_win.cc b/chrome/browser/webdata/web_data_service_win.cc
index 7530ada..ad34279 100644
--- a/chrome/browser/webdata/web_data_service_win.cc
+++ b/chrome/browser/webdata/web_data_service_win.cc
@@ -6,8 +6,8 @@
#include "base/bind.h"
#include "chrome/browser/webdata/logins_table.h"
+#include "components/encryptor/ie7_password_win.h"
#include "components/webdata/common/web_database_service.h"
-#include "components/webdata/encryptor/ie7_password_win.h"
using base::Bind;