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

Side by Side Diff: chrome/browser/safe_browsing/protocol_parser.h

Issue 4007: Cleanup EOL and include guards. Lack of EOL on bloom_filter.h had broken the... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_PARSER_H__ 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_PARSER_H_
6 #define CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_PARSER_H__ 6 #define CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_PARSER_H_
7 7
8 // Parse the data returned from the chunk response. 8 // Parse the data returned from the chunk response.
9 // 9 //
10 // Based on the SafeBrowsing v2.1 protocol: 10 // Based on the SafeBrowsing v2.1 protocol:
11 // http://code.google.com/p/google-safe-browsing/wiki/Protocolv2Spec 11 // http://code.google.com/p/google-safe-browsing/wiki/Protocolv2Spec
12 // 12 //
13 // Read the response from a SafeBrowsing request, and parse into useful pieces. 13 // Read the response from a SafeBrowsing request, and parse into useful pieces.
14 // The protocol is generally line oriented, but can contain binary data in the 14 // The protocol is generally line oriented, but can contain binary data in the
15 // actual chunk responses. The consumer of the protocol data should instantiate 15 // actual chunk responses. The consumer of the protocol data should instantiate
16 // the parser and call the appropriate parsing function on the data. 16 // the parser and call the appropriate parsing function on the data.
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 const char** data, int* remaining, SBEntry* entry, int count, 118 const char** data, int* remaining, SBEntry* entry, int count,
119 int index_start); 119 int index_start);
120 120
121 // The name of the current list 121 // The name of the current list
122 std::string list_name_; 122 std::string list_name_;
123 123
124 DISALLOW_EVIL_CONSTRUCTORS(SafeBrowsingProtocolParser); 124 DISALLOW_EVIL_CONSTRUCTORS(SafeBrowsingProtocolParser);
125 }; 125 };
126 126
127 127
128 #endif // CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_PARSER_H__ 128 #endif // CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_PARSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/protocol_manager.cc ('k') | chrome/browser/safe_browsing/safe_browsing_blocking_page.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698