summaryrefslogtreecommitdiffstats
path: root/content/content_common.gypi
diff options
context:
space:
mode:
authorlukasza <lukasza@chromium.org>2016-01-08 17:42:54 -0800
committerCommit bot <commit-bot@chromium.org>2016-01-09 01:43:52 +0000
commit1764f5c41e21cf607ffc4d644e077c096a7e78b9 (patch)
tree19c09b7fa2455d8e4c692c6dbe12d451af0fba38 /content/content_common.gypi
parentcf26399102d9c004f26081fd74fcb70e644e011f (diff)
downloadchromium_src-1764f5c41e21cf607ffc4d644e077c096a7e78b9.zip
chromium_src-1764f5c41e21cf607ffc4d644e077c096a7e78b9.tar.gz
chromium_src-1764f5c41e21cf607ffc4d644e077c096a7e78b9.tar.bz2
Introducing SavePackageId and SaveItemId as distinct IdType<...>-based types.
This CL: - Introduces content::IdType<...> template and unit tests. - Uses content::IdType<...> to introduce SavePackageId and SaveItemId. For now id_type.h is in content/common directory - if it proves useful for other things, then we can move it around (see also [1], [2] and [3]). [1] abandoned CL - crrev.com/1496103002: Reusing base::IdType<...> to implement SurfaceId. [2] abandoned CL - crrev.com/1492413002: Adding a compile-time safe base::IdType<...> into //base. [3] Id type discussion at chromium.org / site-isolation-dev list: https://groups.google.com/a/chromium.org/d/topic/site-isolation-dev/4YWsj6keR6s/discussion BUG=565545 Review URL: https://codereview.chromium.org/1529363006 Cr-Commit-Position: refs/heads/master@{#368502}
Diffstat (limited to 'content/content_common.gypi')
-rw-r--r--content/content_common.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/content/content_common.gypi b/content/content_common.gypi
index 5567be5..929e235 100644
--- a/content/content_common.gypi
+++ b/content/content_common.gypi
@@ -369,6 +369,7 @@
'common/host_discardable_shared_memory_manager.h',
'common/host_shared_bitmap_manager.cc',
'common/host_shared_bitmap_manager.h',
+ 'common/id_type.h',
'common/in_process_child_thread_params.cc',
'common/in_process_child_thread_params.h',
'common/indexed_db/indexed_db_constants.h',