OLD | NEW |
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_MANAGER_HELPER_H_ | 5 #ifndef CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_HELPER_H_ |
6 #define CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_HELPER_H_ | 6 #define CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_HELPER_H_ |
7 | 7 |
8 // A class that provides common functionality for safebrowsing protocol managers | 8 // A class that provides common functionality for safebrowsing protocol managers |
9 // that communicate with Google servers. | 9 // that communicate with Google servers. |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 | 12 |
| 13 #include "base/macros.h" |
13 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
14 #include "base/memory/scoped_ptr.h" | 15 #include "base/memory/scoped_ptr.h" |
15 | 16 |
16 namespace safe_browsing { | 17 namespace safe_browsing { |
17 | 18 |
18 struct SafeBrowsingProtocolConfig { | 19 struct SafeBrowsingProtocolConfig { |
19 SafeBrowsingProtocolConfig(); | 20 SafeBrowsingProtocolConfig(); |
20 ~SafeBrowsingProtocolConfig(); | 21 ~SafeBrowsingProtocolConfig(); |
21 std::string client_name; | 22 std::string client_name; |
22 std::string url_prefix; | 23 std::string url_prefix; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 const std::string& client_id, | 60 const std::string& client_id, |
60 const std::string& version); | 61 const std::string& version); |
61 | 62 |
62 private: | 63 private: |
63 DISALLOW_IMPLICIT_CONSTRUCTORS(SafeBrowsingProtocolManagerHelper); | 64 DISALLOW_IMPLICIT_CONSTRUCTORS(SafeBrowsingProtocolManagerHelper); |
64 }; | 65 }; |
65 | 66 |
66 } // namespace safe_browsing | 67 } // namespace safe_browsing |
67 | 68 |
68 #endif // CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_HELPER_H_ | 69 #endif // CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_HELPER_H_ |
OLD | NEW |