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

Unified Diff: chrome/browser/safe_browsing/protocol_parser.cc

Issue 39206: NO CODE CHANGE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 10 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: chrome/browser/safe_browsing/protocol_parser.cc
===================================================================
--- chrome/browser/safe_browsing/protocol_parser.cc (revision 10992)
+++ chrome/browser/safe_browsing/protocol_parser.cc (working copy)
@@ -296,11 +296,13 @@
if (cmd_parts[0] == "a") {
chunks->back().is_add = true;
- if (!ParseAddChunk(chunk_data, chunk_len, hash_len, &chunks->back().hosts))
+ if (!ParseAddChunk(chunk_data, chunk_len, hash_len,
+ &chunks->back().hosts))
return false; // Parse error.
} else if (cmd_parts[0] == "s") {
chunks->back().is_add = false;
- if (!ParseSubChunk(chunk_data, chunk_len, hash_len, &chunks->back().hosts))
+ if (!ParseSubChunk(chunk_data, chunk_len, hash_len,
+ &chunks->back().hosts))
return false; // Parse error.
} else {
NOTREACHED();
@@ -354,7 +356,8 @@
hosts->push_back(chunk_host);
}
- if (!ReadPrefixes(&chunk_data, &remaining, entry, prefix_count, index_start))
+ if (!ReadPrefixes(&chunk_data, &remaining, entry, prefix_count,
+ index_start))
return false;
}
« no previous file with comments | « chrome/browser/safe_browsing/protocol_manager_unittest.cc ('k') | chrome/browser/safe_browsing/protocol_parser_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698