OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "chrome/browser/net/safe_search_util.h" | 5 #include "chrome/browser/net/safe_search_util.h" |
6 | 6 |
7 #include <string> | 7 #include <string> |
8 #include <utility> | 8 #include <utility> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/logging.h" | 11 #include "base/logging.h" |
| 12 #include "base/macros.h" |
12 #include "base/strings/string_number_conversions.h" | 13 #include "base/strings/string_number_conversions.h" |
13 #include "base/strings/string_piece.h" | 14 #include "base/strings/string_piece.h" |
14 #include "base/strings/string_split.h" | 15 #include "base/strings/string_split.h" |
15 #include "base/strings/string_util.h" | 16 #include "base/strings/string_util.h" |
16 #include "base/strings/stringprintf.h" | 17 #include "base/strings/stringprintf.h" |
17 #include "chrome/common/url_constants.h" | 18 #include "chrome/common/url_constants.h" |
18 #include "components/google/core/browser/google_util.h" | 19 #include "components/google/core/browser/google_util.h" |
19 #include "net/cookies/cookie_util.h" | 20 #include "net/cookies/cookie_util.h" |
20 #include "net/http/http_request_headers.h" | 21 #include "net/http/http_request_headers.h" |
21 #include "net/url_request/url_request.h" | 22 #include "net/url_request/url_request.h" |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 | 114 |
114 void ClearForceGoogleSafeSearchCountForTesting() { | 115 void ClearForceGoogleSafeSearchCountForTesting() { |
115 g_force_google_safe_search_count_for_test = 0; | 116 g_force_google_safe_search_count_for_test = 0; |
116 } | 117 } |
117 | 118 |
118 void ClearForceYouTubeSafetyModeCountForTesting() { | 119 void ClearForceYouTubeSafetyModeCountForTesting() { |
119 g_force_youtube_safety_mode_count_for_test = 0; | 120 g_force_youtube_safety_mode_count_for_test = 0; |
120 } | 121 } |
121 | 122 |
122 } // namespace safe_search_util | 123 } // namespace safe_search_util |
OLD | NEW |