Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(375)

Unified Diff: net/net.gyp

Issue 13731002: Cache Backend Proxy to intercept all cache events from the IO thread. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: added destructor Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/net.gyp
diff --git a/net/net.gyp b/net/net.gyp
index fcbb2e8eb21d7dad06412588a62f712382a5d4b1..fe47491628630b8e4005049ec3155f8db619a088 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -7,6 +7,7 @@
'chromium_code': 1,
'linux_link_kerberos%': 0,
+ 'use_tracing_cache_backend%': 0,
'conditions': [
['chromeos==1 or OS=="android" or OS=="ios"', {
# Disable Kerberos on ChromeOS, Android and iOS, at least for now.
@@ -381,6 +382,8 @@
'disk_cache/stress_support.h',
'disk_cache/trace.cc',
'disk_cache/trace.h',
+ 'disk_cache/tracing_cache_backend.cc',
+ 'disk_cache/tracing_cache_backend.h',
'disk_cache/simple/simple_backend_impl.cc',
'disk_cache/simple/simple_backend_impl.h',
'disk_cache/simple/simple_disk_format.cc',
@@ -1081,6 +1084,17 @@
'dns/dns_client.cc',
],
}],
+ ['use_tracing_cache_backend==1', {
+ 'defines': [
+ 'USE_TRACING_CACHE_BACKEND'
+ ],
+ },
+ { # else
+ 'sources!': [
+ 'disk_cache/tracing_cache_backend.cc',
+ 'disk_cache/tracing_cache_backend.h',
+ ],
+ }],
['use_openssl==1', {
'sources!': [
'base/crypto_module_nss.cc',
@@ -2003,6 +2017,8 @@
'disk_cache/disk_cache_test_util.h',
'disk_cache/flash/flash_cache_test_base.h',
'disk_cache/flash/flash_cache_test_base.cc',
+ 'disk_cache/tracing_cache_backend.cc',
rvargas (doing something else) 2013/04/05 19:25:13 I don't like adding the same files to two differen
pasko-google - do not use 2013/04/08 15:37:40 The reason was to save on compiled binary size. Th
rvargas (doing something else) 2013/04/08 18:28:34 Saving binary size should be the job of the linker
pasko-google - do not use 2013/04/09 11:53:17 I am relying on the linker now. Thanks. Generally
+ 'disk_cache/tracing_cache_backend.h',
'dns/dns_test_util.cc',
'dns/dns_test_util.h',
'dns/mock_host_resolver.cc',
« net/disk_cache/tracing_cache_backend.cc ('K') | « net/disk_cache/tracing_cache_backend.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698