summaryrefslogtreecommitdiffstats
path: root/net/tools/gdig
diff options
context:
space:
mode:
authormmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-05 19:16:08 +0000
committermmenke@chromium.org <mmenke@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-05 19:16:08 +0000
commitbd67a8f858b00b005e3d6dbf9a852e233d8d1919 (patch)
tree1fd3d30f116ea00bafcbf042176da52e3a24cd8d /net/tools/gdig
parent950c80cfd744841f16f36a7c9a44750b41dbaf42 (diff)
downloadchromium_src-bd67a8f858b00b005e3d6dbf9a852e233d8d1919.zip
chromium_src-bd67a8f858b00b005e3d6dbf9a852e233d8d1919.tar.gz
chromium_src-bd67a8f858b00b005e3d6dbf9a852e233d8d1919.tar.bz2
A pair of changes to make it easier to use NetLogs in
unit tests. Add NetLog support to TestRequestContexts. Move value of kInvalidId into cc file, as it was causing linker errors when used in test files, otherwise. Review URL: https://chromiumcodereview.appspot.com/11280302 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171272 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/tools/gdig')
-rw-r--r--net/tools/gdig/file_net_log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tools/gdig/file_net_log.cc b/net/tools/gdig/file_net_log.cc
index 90967de..51cf78d 100644
--- a/net/tools/gdig/file_net_log.cc
+++ b/net/tools/gdig/file_net_log.cc
@@ -26,7 +26,7 @@ FileNetLog::~FileNetLog() {
void FileNetLog::OnAddEntry(const net::NetLog::Entry& entry) {
// Only BoundNetLogs without a NetLog should have an invalid source.
- DCHECK(entry.source().is_valid());
+ DCHECK(entry.source().IsValid());
const char* source = SourceTypeToString(entry.source().type);
const char* type = EventTypeToString(entry.type());