summaryrefslogtreecommitdiffstats
path: root/chrome/browser
diff options
context:
space:
mode:
authortzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-30 05:12:39 +0000
committertzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-30 05:12:39 +0000
commit7660ec943dbb6c73943b71e7f0675add48604bd2 (patch)
tree174a91440979e73b7f6f8675f8b131417729ab44 /chrome/browser
parent6961c1c9fbc14d3d7b646d3f5b92331b60336d8b (diff)
downloadchromium_src-7660ec943dbb6c73943b71e7f0675add48604bd2.zip
chromium_src-7660ec943dbb6c73943b71e7f0675add48604bd2.tar.gz
chromium_src-7660ec943dbb6c73943b71e7f0675add48604bd2.tar.bz2
Move webkit/quota files to webkit/browser/quota or webkit/common/quota
This CL includes: - Move webkit/quota/quota_{types.{h,cc},callbacks.h} webkit/common/quota/, - Move other webkit/quota/ files to webkit/browser/quota/, - #include and include guard fix for the move, - Split webkit/quota/webkit_quota.gypi to webkit/{browser,common}/quota, - Change DEPS to allow #include webkit/common from chrome/browser. BUG=244363 TEST=should build successfully and should pass deps check. NOTRY=True Review URL: https://chromiumcodereview.appspot.com/16010007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@203082 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser')
-rw-r--r--chrome/browser/DEPS4
-rw-r--r--chrome/browser/browsing_data/browsing_data_quota_helper.h2
-rw-r--r--chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc4
-rw-r--r--chrome/browser/browsing_data/browsing_data_quota_helper_impl.h2
-rw-r--r--chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc4
-rw-r--r--chrome/browser/browsing_data/browsing_data_remover.cc6
-rw-r--r--chrome/browser/browsing_data/browsing_data_remover.h2
-rw-r--r--chrome/browser/browsing_data/browsing_data_remover_unittest.cc6
-rw-r--r--chrome/browser/chrome_quota_permission_context.cc2
-rw-r--r--chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc2
-rw-r--r--chrome/browser/extensions/api/sync_file_system/sync_file_system_api.h2
-rw-r--r--chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc2
-rw-r--r--chrome/browser/extensions/extension_service_unittest.cc2
-rw-r--r--chrome/browser/extensions/extension_special_storage_policy.h2
-rw-r--r--chrome/browser/extensions/mock_extension_special_storage_policy.h2
-rw-r--r--chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc2
-rw-r--r--chrome/browser/media_galleries/fileapi/picasa/picasa_file_util_unittest.cc2
-rw-r--r--chrome/browser/net/sqlite_server_bound_cert_store.cc2
-rw-r--r--chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc2
-rw-r--r--chrome/browser/profiles/profile_impl_io_data.cc2
-rw-r--r--chrome/browser/ui/webui/quota_internals/quota_internals_handler.h2
-rw-r--r--chrome/browser/ui/webui/quota_internals/quota_internals_proxy.h4
-rw-r--r--chrome/browser/ui/webui/quota_internals/quota_internals_types.h2
23 files changed, 29 insertions, 33 deletions
diff --git a/chrome/browser/DEPS b/chrome/browser/DEPS
index 8f8ff0e..231d637 100644
--- a/chrome/browser/DEPS
+++ b/chrome/browser/DEPS
@@ -52,12 +52,8 @@ include_rules = [
# DO NOT ADD ANY MORE ITEMS TO THE LIST BELOW!
"+webkit/appcache",
"+webkit/base/origin_url_conversions.h",
- "+webkit/common/fileapi",
- "+webkit/common/plugins", # Common plugins functionality.
- "+webkit/common/user_agent",
"+webkit/dom_storage/dom_storage_types.h",
"+webkit/plugins", # Defines some types that are marshalled over IPC.
- "+webkit/quota",
# TODO(kinuko): Remove all other webkit/* dependencies after we cleaned
# up webkit/. crbug.com/239710
diff --git a/chrome/browser/browsing_data/browsing_data_quota_helper.h b/chrome/browser/browsing_data/browsing_data_quota_helper.h
index 31e367b..f15f9fb 100644
--- a/chrome/browser/browsing_data/browsing_data_quota_helper.h
+++ b/chrome/browser/browsing_data/browsing_data_quota_helper.h
@@ -12,7 +12,7 @@
#include "base/memory/ref_counted.h"
#include "base/message_loop/message_loop_proxy.h"
#include "base/sequenced_task_runner_helpers.h"
-#include "webkit/quota/quota_types.h"
+#include "webkit/common/quota/quota_types.h"
class BrowsingDataQuotaHelper;
class Profile;
diff --git a/chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc b/chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc
index d7c0c30..de2017c 100644
--- a/chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc
+++ b/chrome/browser/browsing_data/browsing_data_quota_helper_impl.cc
@@ -9,13 +9,13 @@
#include "base/bind.h"
#include "base/logging.h"
+#include "chrome/browser/browsing_data/browsing_data_helper.h"
#include "chrome/browser/profiles/profile.h"
#include "chrome/common/url_constants.h"
-#include "chrome/browser/browsing_data/browsing_data_helper.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/browser_thread.h"
#include "content/public/browser/storage_partition.h"
-#include "webkit/quota/quota_manager.h"
+#include "webkit/browser/quota/quota_manager.h"
using content::BrowserThread;
using content::BrowserContext;
diff --git a/chrome/browser/browsing_data/browsing_data_quota_helper_impl.h b/chrome/browser/browsing_data/browsing_data_quota_helper_impl.h
index 269319b..fce734c 100644
--- a/chrome/browser/browsing_data/browsing_data_quota_helper_impl.h
+++ b/chrome/browser/browsing_data/browsing_data_quota_helper_impl.h
@@ -14,7 +14,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "chrome/browser/browsing_data/browsing_data_quota_helper.h"
-#include "webkit/quota/quota_types.h"
+#include "webkit/common/quota/quota_types.h"
class GURL;
diff --git a/chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc b/chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc
index 017570c..abb2ae0 100644
--- a/chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc
+++ b/chrome/browser/browsing_data/browsing_data_quota_helper_unittest.cc
@@ -12,8 +12,8 @@
#include "base/message_loop/message_loop_proxy.h"
#include "chrome/browser/browsing_data/browsing_data_quota_helper_impl.h"
#include "content/public/test/test_browser_thread.h"
-#include "webkit/quota/mock_storage_client.h"
-#include "webkit/quota/quota_manager.h"
+#include "webkit/browser/quota/mock_storage_client.h"
+#include "webkit/browser/quota/quota_manager.h"
using content::BrowserThread;
diff --git a/chrome/browser/browsing_data/browsing_data_remover.cc b/chrome/browser/browsing_data/browsing_data_remover.cc
index 1c5935b..d098cfd 100644
--- a/chrome/browser/browsing_data/browsing_data_remover.cc
+++ b/chrome/browser/browsing_data/browsing_data_remover.cc
@@ -64,10 +64,10 @@
#include "net/ssl/server_bound_cert_store.h"
#include "net/url_request/url_request_context.h"
#include "net/url_request/url_request_context_getter.h"
+#include "webkit/browser/quota/quota_manager.h"
+#include "webkit/browser/quota/special_storage_policy.h"
+#include "webkit/common/quota/quota_types.h"
#include "webkit/dom_storage/dom_storage_types.h"
-#include "webkit/quota/quota_manager.h"
-#include "webkit/quota/quota_types.h"
-#include "webkit/quota/special_storage_policy.h"
using content::BrowserContext;
using content::BrowserThread;
diff --git a/chrome/browser/browsing_data/browsing_data_remover.h b/chrome/browser/browsing_data/browsing_data_remover.h
index c3cdb5f..9d234e8 100644
--- a/chrome/browser/browsing_data/browsing_data_remover.h
+++ b/chrome/browser/browsing_data/browsing_data_remover.h
@@ -20,7 +20,7 @@
#include "content/public/browser/notification_observer.h"
#include "content/public/browser/notification_registrar.h"
#include "googleurl/src/gurl.h"
-#include "webkit/quota/quota_types.h"
+#include "webkit/common/quota/quota_types.h"
class ExtensionSpecialStoragePolicy;
class IOThread;
diff --git a/chrome/browser/browsing_data/browsing_data_remover_unittest.cc b/chrome/browser/browsing_data/browsing_data_remover_unittest.cc
index b976555..c0668266 100644
--- a/chrome/browser/browsing_data/browsing_data_remover_unittest.cc
+++ b/chrome/browser/browsing_data/browsing_data_remover_unittest.cc
@@ -44,11 +44,11 @@
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebCString.h"
#include "third_party/WebKit/Source/Platform/chromium/public/WebString.h"
+#include "webkit/browser/quota/mock_quota_manager.h"
+#include "webkit/browser/quota/quota_manager.h"
+#include "webkit/common/quota/quota_types.h"
#include "webkit/dom_storage/dom_storage_types.h"
#include "webkit/glue/webkit_glue.h"
-#include "webkit/quota/mock_quota_manager.h"
-#include "webkit/quota/quota_manager.h"
-#include "webkit/quota/quota_types.h"
using content::BrowserThread;
diff --git a/chrome/browser/chrome_quota_permission_context.cc b/chrome/browser/chrome_quota_permission_context.cc
index 59aecc4..63873a9 100644
--- a/chrome/browser/chrome_quota_permission_context.cc
+++ b/chrome/browser/chrome_quota_permission_context.cc
@@ -22,7 +22,7 @@
#include "grit/locale_settings.h"
#include "net/base/net_util.h"
#include "ui/base/l10n/l10n_util.h"
-#include "webkit/quota/quota_types.h"
+#include "webkit/common/quota/quota_types.h"
using content::BrowserThread;
using content::QuotaPermissionContext;
diff --git a/chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc b/chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc
index 64e2295..4d7c2a0 100644
--- a/chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc
+++ b/chrome/browser/extensions/api/sync_file_system/sync_file_system_api.cc
@@ -25,9 +25,9 @@
#include "webkit/browser/fileapi/file_system_context.h"
#include "webkit/browser/fileapi/file_system_url.h"
#include "webkit/browser/fileapi/syncable/sync_file_status.h"
+#include "webkit/browser/quota/quota_manager.h"
#include "webkit/common/fileapi/file_system_types.h"
#include "webkit/common/fileapi/file_system_util.h"
-#include "webkit/quota/quota_manager.h"
using content::BrowserContext;
using content::BrowserThread;
diff --git a/chrome/browser/extensions/api/sync_file_system/sync_file_system_api.h b/chrome/browser/extensions/api/sync_file_system/sync_file_system_api.h
index 3e70888..e41dd54 100644
--- a/chrome/browser/extensions/api/sync_file_system/sync_file_system_api.h
+++ b/chrome/browser/extensions/api/sync_file_system/sync_file_system_api.h
@@ -14,7 +14,7 @@
#include "webkit/browser/fileapi/file_system_url.h"
#include "webkit/browser/fileapi/syncable/sync_file_status.h"
#include "webkit/browser/fileapi/syncable/sync_status_code.h"
-#include "webkit/quota/quota_types.h"
+#include "webkit/common/quota/quota_types.h"
namespace fileapi {
class FileSystemContext;
diff --git a/chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc b/chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc
index 7d1f3ab..fe896a2 100644
--- a/chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc
+++ b/chrome/browser/extensions/api/sync_file_system/sync_file_system_apitest.cc
@@ -19,7 +19,7 @@
#include "webkit/browser/fileapi/file_system_url.h"
#include "webkit/browser/fileapi/syncable/sync_status_code.h"
#include "webkit/browser/fileapi/syncable/syncable_file_system_util.h"
-#include "webkit/quota/quota_manager.h"
+#include "webkit/browser/quota/quota_manager.h"
using ::testing::_;
using ::testing::Eq;
diff --git a/chrome/browser/extensions/extension_service_unittest.cc b/chrome/browser/extensions/extension_service_unittest.cc
index c63e020..92a48b6 100644
--- a/chrome/browser/extensions/extension_service_unittest.cc
+++ b/chrome/browser/extensions/extension_service_unittest.cc
@@ -104,8 +104,8 @@
#include "testing/platform_test.h"
#include "webkit/base/origin_url_conversions.h"
#include "webkit/browser/database/database_tracker.h"
+#include "webkit/browser/quota/quota_manager.h"
#include "webkit/plugins/npapi/mock_plugin_list.h"
-#include "webkit/quota/quota_manager.h"
#if defined(OS_CHROMEOS)
#include "chrome/browser/chromeos/extensions/install_limiter.h"
diff --git a/chrome/browser/extensions/extension_special_storage_policy.h b/chrome/browser/extensions/extension_special_storage_policy.h
index c8ebe51..6752bdf 100644
--- a/chrome/browser/extensions/extension_special_storage_policy.h
+++ b/chrome/browser/extensions/extension_special_storage_policy.h
@@ -11,7 +11,7 @@
#include "base/synchronization/lock.h"
#include "chrome/common/extensions/extension_set.h"
#include "googleurl/src/gurl.h"
-#include "webkit/quota/special_storage_policy.h"
+#include "webkit/browser/quota/special_storage_policy.h"
class CookieSettings;
diff --git a/chrome/browser/extensions/mock_extension_special_storage_policy.h b/chrome/browser/extensions/mock_extension_special_storage_policy.h
index 11cc80d..6417368 100644
--- a/chrome/browser/extensions/mock_extension_special_storage_policy.h
+++ b/chrome/browser/extensions/mock_extension_special_storage_policy.h
@@ -12,7 +12,7 @@
#include "googleurl/src/gurl.h"
// This class is the same as MockSpecialStoragePolicy (in
-// webkit/quota/mock_special_storage_policy.h), but it inherits
+// webkit/browser/quota/mock_special_storage_policy.h), but it inherits
// ExtensionSpecialStoragePolicy instead of quota::SpecialStoragePolicy.
class MockExtensionSpecialStoragePolicy : public ExtensionSpecialStoragePolicy {
public:
diff --git a/chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc b/chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc
index 73dbd76..333495d 100644
--- a/chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc
+++ b/chrome/browser/media_galleries/fileapi/native_media_file_util_unittest.cc
@@ -24,7 +24,7 @@
#include "webkit/browser/fileapi/isolated_context.h"
#include "webkit/browser/fileapi/mock_file_system_options.h"
#include "webkit/browser/fileapi/native_file_util.h"
-#include "webkit/quota/mock_special_storage_policy.h"
+#include "webkit/browser/quota/mock_special_storage_policy.h"
#define FPL(x) FILE_PATH_LITERAL(x)
diff --git a/chrome/browser/media_galleries/fileapi/picasa/picasa_file_util_unittest.cc b/chrome/browser/media_galleries/fileapi/picasa/picasa_file_util_unittest.cc
index 0ca6a9f..bfa565f 100644
--- a/chrome/browser/media_galleries/fileapi/picasa/picasa_file_util_unittest.cc
+++ b/chrome/browser/media_galleries/fileapi/picasa/picasa_file_util_unittest.cc
@@ -29,7 +29,7 @@
#include "webkit/browser/fileapi/isolated_context.h"
#include "webkit/browser/fileapi/local_file_system_operation.h"
#include "webkit/browser/fileapi/mock_file_system_options.h"
-#include "webkit/quota/mock_special_storage_policy.h"
+#include "webkit/browser/quota/mock_special_storage_policy.h"
using fileapi::FileSystemFileUtil;
using fileapi::FileSystemOperation;
diff --git a/chrome/browser/net/sqlite_server_bound_cert_store.cc b/chrome/browser/net/sqlite_server_bound_cert_store.cc
index 1d88838..4be0d70 100644
--- a/chrome/browser/net/sqlite_server_bound_cert_store.cc
+++ b/chrome/browser/net/sqlite_server_bound_cert_store.cc
@@ -28,7 +28,7 @@
#include "sql/statement.h"
#include "sql/transaction.h"
#include "third_party/sqlite/sqlite3.h"
-#include "webkit/quota/special_storage_policy.h"
+#include "webkit/browser/quota/special_storage_policy.h"
using content::BrowserThread;
diff --git a/chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc b/chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc
index 68097c2..eeedf77 100644
--- a/chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc
+++ b/chrome/browser/net/sqlite_server_bound_cert_store_unittest.cc
@@ -18,7 +18,7 @@
#include "net/test/cert_test_util.h"
#include "sql/statement.h"
#include "testing/gtest/include/gtest/gtest.h"
-#include "webkit/quota/mock_special_storage_policy.h"
+#include "webkit/browser/quota/mock_special_storage_policy.h"
using content::BrowserThread;
diff --git a/chrome/browser/profiles/profile_impl_io_data.cc b/chrome/browser/profiles/profile_impl_io_data.cc
index fca9dd3..f5a5c8b 100644
--- a/chrome/browser/profiles/profile_impl_io_data.cc
+++ b/chrome/browser/profiles/profile_impl_io_data.cc
@@ -42,7 +42,7 @@
#include "net/ssl/server_bound_cert_service.h"
#include "net/url_request/protocol_intercept_job_factory.h"
#include "net/url_request/url_request_job_factory_impl.h"
-#include "webkit/quota/special_storage_policy.h"
+#include "webkit/browser/quota/special_storage_policy.h"
#if defined(OS_ANDROID)
#include "chrome/app/android/chrome_data_reduction_proxy_android.h"
diff --git a/chrome/browser/ui/webui/quota_internals/quota_internals_handler.h b/chrome/browser/ui/webui/quota_internals/quota_internals_handler.h
index 7fec8db..55a3c4e 100644
--- a/chrome/browser/ui/webui/quota_internals/quota_internals_handler.h
+++ b/chrome/browser/ui/webui/quota_internals/quota_internals_handler.h
@@ -11,7 +11,7 @@
#include "base/memory/ref_counted.h"
#include "content/public/browser/web_ui_message_handler.h"
-#include "webkit/quota/quota_types.h"
+#include "webkit/common/quota/quota_types.h"
namespace base {
class Value;
diff --git a/chrome/browser/ui/webui/quota_internals/quota_internals_proxy.h b/chrome/browser/ui/webui/quota_internals/quota_internals_proxy.h
index 2e9e2dc..94ddf3a 100644
--- a/chrome/browser/ui/webui/quota_internals/quota_internals_proxy.h
+++ b/chrome/browser/ui/webui/quota_internals/quota_internals_proxy.h
@@ -14,8 +14,8 @@
#include "base/memory/weak_ptr.h"
#include "base/sequenced_task_runner_helpers.h"
#include "content/public/browser/browser_thread.h"
-#include "webkit/quota/quota_manager.h"
-#include "webkit/quota/quota_types.h"
+#include "webkit/browser/quota/quota_manager.h"
+#include "webkit/common/quota/quota_types.h"
namespace quota_internals {
diff --git a/chrome/browser/ui/webui/quota_internals/quota_internals_types.h b/chrome/browser/ui/webui/quota_internals/quota_internals_types.h
index f73176a..0291567 100644
--- a/chrome/browser/ui/webui/quota_internals/quota_internals_types.h
+++ b/chrome/browser/ui/webui/quota_internals/quota_internals_types.h
@@ -10,7 +10,7 @@
#include "base/time.h"
#include "googleurl/src/gurl.h"
-#include "webkit/quota/quota_types.h"
+#include "webkit/common/quota/quota_types.h"
namespace base {
class Value;