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

Side by Side Diff: components/search/search.h

Issue 2513913002: Instant cleanup: Remove unused Android-only cmdline switches (Closed)
Patch Set: review Created 4 years 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
« no previous file with comments | « components/search/BUILD.gn ('k') | components/search/search.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef COMPONENTS_SEARCH_SEARCH_H_ 5 #ifndef COMPONENTS_SEARCH_SEARCH_H_
6 #define COMPONENTS_SEARCH_SEARCH_H_ 6 #define COMPONENTS_SEARCH_SEARCH_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include <string> 10 #include <string>
11 #include <utility>
12 #include <vector>
13 11
14 #include "base/strings/string16.h"
15 #include "base/strings/string_split.h" 12 #include "base/strings/string_split.h"
16 13
17 class GURL; 14 class GURL;
18 class TemplateURL; 15 class TemplateURL;
19 16
20 namespace search { 17 namespace search {
21 18
22 // Returns whether the Instant Extended API is enabled. 19 // Returns whether the Instant Extended API is enabled.
23 bool IsInstantExtendedAPIEnabled(); 20 bool IsInstantExtendedAPIEnabled();
24 21
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 bool ShouldReuseInstantSearchBasePage(); 83 bool ShouldReuseInstantSearchBasePage();
87 84
88 // |url| should either have a secure scheme or have a non-HTTPS base URL that 85 // |url| should either have a secure scheme or have a non-HTTPS base URL that
89 // the user specified using --google-base-url. (This allows testers to use 86 // the user specified using --google-base-url. (This allows testers to use
90 // --google-base-url to point at non-HTTPS servers, which eases testing.) 87 // --google-base-url to point at non-HTTPS servers, which eases testing.)
91 bool IsSuitableURLForInstant(const GURL& url, const TemplateURL* template_url); 88 bool IsSuitableURLForInstant(const GURL& url, const TemplateURL* template_url);
92 89
93 } // namespace search 90 } // namespace search
94 91
95 #endif // COMPONENTS_SEARCH_SEARCH_H_ 92 #endif // COMPONENTS_SEARCH_SEARCH_H_
OLDNEW
« no previous file with comments | « components/search/BUILD.gn ('k') | components/search/search.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698