OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_BROWSER_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_ | 5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_ |
6 #define CHROME_BROWSER_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_ | 6 #define CHROME_BROWSER_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_ |
7 #pragma once | |
8 | 7 |
9 #include <string> | 8 #include <string> |
10 | 9 |
11 #include "base/basictypes.h" | 10 #include "base/basictypes.h" |
12 #include "base/compiler_specific.h" | 11 #include "base/compiler_specific.h" |
13 #include "base/string16.h" | 12 #include "base/string16.h" |
14 | 13 |
15 class Profile; | 14 class Profile; |
16 | 15 |
17 // All data needed by TemplateURLRef::ReplaceSearchTerms which typically may | 16 // All data needed by TemplateURLRef::ReplaceSearchTerms which typically may |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 static void SetGoogleBaseURL(const std::string& base_url); | 69 static void SetGoogleBaseURL(const std::string& base_url); |
71 | 70 |
72 private: | 71 private: |
73 static std::string* google_base_url_; | 72 static std::string* google_base_url_; |
74 Profile* profile_; | 73 Profile* profile_; |
75 | 74 |
76 DISALLOW_COPY_AND_ASSIGN(UIThreadSearchTermsData); | 75 DISALLOW_COPY_AND_ASSIGN(UIThreadSearchTermsData); |
77 }; | 76 }; |
78 | 77 |
79 #endif // CHROME_BROWSER_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_ | 78 #endif // CHROME_BROWSER_SEARCH_ENGINES_SEARCH_TERMS_DATA_H_ |
OLD | NEW |