| OLD | NEW |
| (Empty) |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef COMPONENTS_SEARCH_ENGINES_DETECT_DESKTOP_SEARCH_WIN_H_ | |
| 6 #define COMPONENTS_SEARCH_ENGINES_DETECT_DESKTOP_SEARCH_WIN_H_ | |
| 7 | |
| 8 #include "base/strings/string16.h" | |
| 9 | |
| 10 class GURL; | |
| 11 class SearchTermsData; | |
| 12 | |
| 13 // Detects whether a URL comes from a Windows Desktop search. If so, puts the | |
| 14 // search terms in |search_terms| and returns true. | |
| 15 bool DetectWindowsDesktopSearch(const GURL& url, | |
| 16 const SearchTermsData& search_terms_data, | |
| 17 base::string16* search_terms); | |
| 18 | |
| 19 #endif // COMPONENTS_SEARCH_ENGINES_DETECT_DESKTOP_SEARCH_WIN_H_ | |
| OLD | NEW |