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

Side by Side Diff: components/search_engines/search_terms_data.h

Issue 1238683003: Unpunycode search keywords and short names. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fix grammar. Created 5 years, 5 months 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 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_ENGINES_SEARCH_TERMS_DATA_H_ 5 #ifndef COMPONENTS_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_
6 #define COMPONENTS_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_ 6 #define COMPONENTS_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 // suitable for adding as a query string param to the homepage. This only 67 // suitable for adding as a query string param to the homepage. This only
68 // applies if Instant Extended is enabled. Returns an empty string otherwise. 68 // applies if Instant Extended is enabled. Returns an empty string otherwise.
69 // Determining this requires accessing the Profile, so this can only ever be 69 // Determining this requires accessing the Profile, so this can only ever be
70 // non-empty for UIThreadSearchTermsData. 70 // non-empty for UIThreadSearchTermsData.
71 virtual std::string NTPIsThemedParam() const; 71 virtual std::string NTPIsThemedParam() const;
72 72
73 // Returns the value to use for replacements of type 73 // Returns the value to use for replacements of type
74 // GOOGLE_IMAGE_SEARCH_SOURCE. 74 // GOOGLE_IMAGE_SEARCH_SOURCE.
75 virtual std::string GoogleImageSearchSource() const; 75 virtual std::string GoogleImageSearchSource() const;
76 76
77 // Returns a string with languages understood by the user.
78 // Determining this requires accessing the Profile, so this can only ever be
79 // non-empty for UIThreadSearchTermsData.
80 virtual std::string GetAcceptLanguages() const;
81
77 private: 82 private:
78 DISALLOW_COPY_AND_ASSIGN(SearchTermsData); 83 DISALLOW_COPY_AND_ASSIGN(SearchTermsData);
79 }; 84 };
80 85
81 #endif // COMPONENTS_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_ 86 #endif // COMPONENTS_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_
OLDNEW
« no previous file with comments | « components/search_engines/keyword_table.cc ('k') | components/search_engines/search_terms_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698