| OLD | NEW |
| (Empty) | |
| 1 // Copyright 2016 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 IOS_CHROME_BROWSER_VOICE_VOICE_SEARCH_URL_REWRITER_H_ |
| 6 #define IOS_CHROME_BROWSER_VOICE_VOICE_SEARCH_URL_REWRITER_H_ |
| 7 |
| 8 class GURL; |
| 9 namespace web { |
| 10 class BrowserState; |
| 11 } |
| 12 |
| 13 // Adds the voice search flags to |url| if it's a Google search URL. This |
| 14 // function is a web::BrowserURLRewriter::URLRewriter, and is intended to be |
| 15 // used as a transient URLRewriter when performing a Google Search using Voice |
| 16 // Search. |
| 17 bool VoiceSearchURLRewriter(GURL* url, web::BrowserState* browser_state); |
| 18 |
| 19 #endif // IOS_CHROME_BROWSER_VOICE_VOICE_SEARCH_URL_REWRITER_H_ |
| OLD | NEW |