summaryrefslogtreecommitdiffstats
path: root/extensions/shell
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2016-01-29 21:56:05 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-30 05:57:05 +0000
commit58cd1f1293144d72e2d4b1ec8f7e09da81e55654 (patch)
tree4cb362c3e4885a62dbb767c485c4bff02a16e0e9 /extensions/shell
parentcd7e7669bbf678646432fd18acbc82294d1de6c8 (diff)
downloadchromium_src-58cd1f1293144d72e2d4b1ec8f7e09da81e55654.zip
chromium_src-58cd1f1293144d72e2d4b1ec8f7e09da81e55654.tar.gz
chromium_src-58cd1f1293144d72e2d4b1ec8f7e09da81e55654.tar.bz2
Move base/prefs to components/prefs
This change is the minimal move change. It does not update namespaces or includes. Forwarding headers and targets exist to map to the new location. The namespaces, include guards, and references to these files will be updated in follow-ups. The GYP build has been updated to point to the new location because the forwarding headers generated a .gyp file cycle. Avoiding a cycle with libaddressinput is why prefs is a separate .gyp from most of the rest of the components. The GN build uses forwarding targets to keep the change smaller. The json pref store unit tests had to be updated because of the way that they used histograms conflicted with the hsitogram setup of the components unittests. Fortunately, there's a HistogramTester helper for this case, so this patch uses it in for the moved test in place of manually checking histogram counts. json_pref_store_unittests.cc also depended on the files il base/test/data/prefs. Rather than worry about updating all the isolates and such, this just adds the data inline and avoids having separate test files. Reland of http://crrev.com/1648403002 with iOS fix TBR=jam@chromium.org Review URL: https://codereview.chromium.org/1653693002 Cr-Commit-Position: refs/heads/master@{#372536}
Diffstat (limited to 'extensions/shell')
-rw-r--r--extensions/shell/app_shell.gyp2
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/shell/app_shell.gyp b/extensions/shell/app_shell.gyp
index 10594be..695bb32 100644
--- a/extensions/shell/app_shell.gyp
+++ b/extensions/shell/app_shell.gyp
@@ -22,13 +22,13 @@
'dependencies': [
'app_shell_version_header',
'<(DEPTH)/base/base.gyp:base',
- '<(DEPTH)/base/base.gyp:base_prefs',
'<(DEPTH)/components/components.gyp:devtools_discovery',
'<(DEPTH)/components/components.gyp:devtools_http_handler',
'<(DEPTH)/components/components.gyp:pref_registry',
'<(DEPTH)/components/components.gyp:update_client',
'<(DEPTH)/components/components.gyp:user_prefs',
'<(DEPTH)/components/components.gyp:web_cache_renderer',
+ '<(DEPTH)/components/prefs/prefs.gyp:prefs',
'<(DEPTH)/content/content.gyp:content',
'<(DEPTH)/content/content.gyp:content_browser',
'<(DEPTH)/content/content.gyp:content_gpu',