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_HOST_TO_URLS_MAP_H_ | 5 #ifndef CHROME_BROWSER_SEARCH_ENGINES_SEARCH_HOST_TO_URLS_MAP_H_ |
6 #define CHROME_BROWSER_SEARCH_ENGINES_SEARCH_HOST_TO_URLS_MAP_H_ | 6 #define CHROME_BROWSER_SEARCH_ENGINES_SEARCH_HOST_TO_URLS_MAP_H_ |
7 #pragma once | |
8 | 7 |
9 #include <map> | 8 #include <map> |
10 #include <set> | 9 #include <set> |
11 #include <string> | 10 #include <string> |
12 | 11 |
13 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
14 #include "chrome/browser/search_engines/template_url_service.h" | 13 #include "chrome/browser/search_engines/template_url_service.h" |
15 | 14 |
16 // Holds the host to template url mappings for the search providers. WARNING: | 15 // Holds the host to template url mappings for the search providers. WARNING: |
17 // This class does not own any TemplateURLs passed to it and it is up to the | 16 // This class does not own any TemplateURLs passed to it and it is up to the |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 // The security origin for the default search provider. | 63 // The security origin for the default search provider. |
65 std::string default_search_origin_; | 64 std::string default_search_origin_; |
66 | 65 |
67 // Has Init been called? | 66 // Has Init been called? |
68 bool initialized_; | 67 bool initialized_; |
69 | 68 |
70 DISALLOW_COPY_AND_ASSIGN(SearchHostToURLsMap); | 69 DISALLOW_COPY_AND_ASSIGN(SearchHostToURLsMap); |
71 }; | 70 }; |
72 | 71 |
73 #endif // CHROME_BROWSER_SEARCH_ENGINES_SEARCH_HOST_TO_URLS_MAP_H_ | 72 #endif // CHROME_BROWSER_SEARCH_ENGINES_SEARCH_HOST_TO_URLS_MAP_H_ |
OLD | NEW |