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

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

Issue 10700155: Remove #pragma once from chrome/browser/{printing,safe_browsing,prefs,bookmarks,autocomplete} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #pragma once
8 7
9 // Parse the data returned from the chunk response. 8 // Parse the data returned from the chunk response.
10 // 9 //
11 // Based on the SafeBrowsing v2.1 protocol: 10 // Based on the SafeBrowsing v2.1 protocol:
12 // http://code.google.com/p/google-safe-browsing/wiki/Protocolv2Spec 11 // http://code.google.com/p/google-safe-browsing/wiki/Protocolv2Spec
13 // 12 //
14 // 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.
15 // 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
16 // actual chunk responses. The consumer of the protocol data should instantiate 15 // actual chunk responses. The consumer of the protocol data should instantiate
17 // the parser and call the appropriate parsing function on the data. 16 // the parser and call the appropriate parsing function on the data.
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 const char** data, int* remaining, SBEntry* entry, int count); 105 const char** data, int* remaining, SBEntry* entry, int count);
107 106
108 // The name of the current list 107 // The name of the current list
109 std::string list_name_; 108 std::string list_name_;
110 109
111 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingProtocolParser); 110 DISALLOW_COPY_AND_ASSIGN(SafeBrowsingProtocolParser);
112 }; 111 };
113 112
114 113
115 #endif // CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_PARSER_H_ 114 #endif // CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_PARSER_H_
OLDNEW
« no previous file with comments | « chrome/browser/safe_browsing/protocol_manager.h ('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