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

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

Issue 1420053005: Move code in components/safe_browsing_db and chrome/browser/s_b/ under the safe_browsing namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@02_components_move
Patch Set: Merging the latest changes from trunk. Created 5 years, 1 month 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
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_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/memory/ref_counted.h" 13 #include "base/memory/ref_counted.h"
14 #include "base/memory/scoped_ptr.h" 14 #include "base/memory/scoped_ptr.h"
15 15
Nathan Parker 2015/11/05 22:00:52 rm extra line
vakh (old account. dont use) 2015/11/07 01:22:56 Done.
16 16
17 namespace safe_browsing {
18
17 struct SafeBrowsingProtocolConfig { 19 struct SafeBrowsingProtocolConfig {
18 SafeBrowsingProtocolConfig(); 20 SafeBrowsingProtocolConfig();
19 ~SafeBrowsingProtocolConfig(); 21 ~SafeBrowsingProtocolConfig();
20 std::string client_name; 22 std::string client_name;
21 std::string url_prefix; 23 std::string url_prefix;
22 std::string backup_connect_error_url_prefix; 24 std::string backup_connect_error_url_prefix;
23 std::string backup_http_error_url_prefix; 25 std::string backup_http_error_url_prefix;
24 std::string backup_network_error_url_prefix; 26 std::string backup_network_error_url_prefix;
25 std::string version; 27 std::string version;
26 bool disable_auto_update; 28 bool disable_auto_update;
(...skipping 19 matching lines...) Expand all
46 const std::string& method, 48 const std::string& method,
47 const std::string& client_name, 49 const std::string& client_name,
48 const std::string& version, 50 const std::string& version,
49 const std::string& additional_query, 51 const std::string& additional_query,
50 bool is_extended_reporting); 52 bool is_extended_reporting);
51 53
52 private: 54 private:
53 DISALLOW_IMPLICIT_CONSTRUCTORS(SafeBrowsingProtocolManagerHelper); 55 DISALLOW_IMPLICIT_CONSTRUCTORS(SafeBrowsingProtocolManagerHelper);
54 }; 56 };
55 57
58 } // namespace safe_browsing
59
56 #endif // CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_HELPER_H_ 60 #endif // CHROME_BROWSER_SAFE_BROWSING_PROTOCOL_MANAGER_HELPER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698