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

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

Issue 1551433002: Switch to standard integer types in components/, part 3 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more Created 4 years, 12 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"
11 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/macros.h"
12 #include "base/strings/string16.h" 12 #include "base/strings/string16.h"
13 13
14 // All data needed by TemplateURLRef::ReplaceSearchTerms which typically may 14 // All data needed by TemplateURLRef::ReplaceSearchTerms which typically may
15 // only be accessed on the UI thread. 15 // only be accessed on the UI thread.
16 class SearchTermsData { 16 class SearchTermsData {
17 public: 17 public:
18 SearchTermsData(); 18 SearchTermsData();
19 virtual ~SearchTermsData(); 19 virtual ~SearchTermsData();
20 20
21 // Returns the value to use for replacements of type GOOGLE_BASE_URL. This 21 // Returns the value to use for replacements of type GOOGLE_BASE_URL. This
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 // Returns a string with languages understood by the user. 82 // Returns a string with languages understood by the user.
83 // Determining this requires accessing the Profile, so this can only ever be 83 // Determining this requires accessing the Profile, so this can only ever be
84 // non-empty for UIThreadSearchTermsData. 84 // non-empty for UIThreadSearchTermsData.
85 virtual std::string GetAcceptLanguages() const; 85 virtual std::string GetAcceptLanguages() const;
86 86
87 private: 87 private:
88 DISALLOW_COPY_AND_ASSIGN(SearchTermsData); 88 DISALLOW_COPY_AND_ASSIGN(SearchTermsData);
89 }; 89 };
90 90
91 #endif // COMPONENTS_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_ 91 #endif // COMPONENTS_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_
OLDNEW
« no previous file with comments | « components/search_engines/search_host_to_urls_map_unittest.cc ('k') | components/search_engines/template_url.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698