diff options
author | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-21 20:45:10 +0000 |
---|---|---|
committer | eroman@chromium.org <eroman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-12-21 20:45:10 +0000 |
commit | bf6c087a98c4f6ce40f233dbf20f23b4722315da (patch) | |
tree | 790f8c75b69027f6b4c59e7ab421e371697b1a6b /net/flip | |
parent | 37ee9fd744eaa36d4458e6f8029812e6d891ad1b (diff) | |
download | chromium_src-bf6c087a98c4f6ce40f233dbf20f23b4722315da.zip chromium_src-bf6c087a98c4f6ce40f233dbf20f23b4722315da.tar.gz chromium_src-bf6c087a98c4f6ce40f233dbf20f23b4722315da.tar.bz2 |
Extend LoadLog to support logging of arbitrary strings, and of network error codes.
- The logging of error codes is intended to be used in passive mode.
- The logging of string messages is intended to be used when in full-logging mode.
- The logging of string literal messages is intended to be used in passive mode.
BUG=27552
Review URL: http://codereview.chromium.org/503066
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@35103 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/flip')
-rw-r--r-- | net/flip/flip_network_transaction_unittest.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/flip/flip_network_transaction_unittest.cc b/net/flip/flip_network_transaction_unittest.cc index bbb2a7f..29d266c 100644 --- a/net/flip/flip_network_transaction_unittest.cc +++ b/net/flip/flip_network_transaction_unittest.cc @@ -951,7 +951,7 @@ TEST_F(FlipNetworkTransactionTest, LoadLog) { // Check that the LoadLog was filled reasonably. // This test is intentionally non-specific about the exact ordering of // the log; instead we just check to make sure that certain events exist. - EXPECT_LT(0u, log->events().size()); + EXPECT_LT(0u, log->entries().size()); int pos = 0; // We know the first event at position 0. net::ExpectLogContains(log, 0, |