OLD | NEW |
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_TEMPLATE_URL_H_ | 5 #ifndef COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_H_ |
6 #define COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_H_ | 6 #define COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <string> | 10 #include <string> |
9 #include <utility> | 11 #include <utility> |
10 #include <vector> | 12 #include <vector> |
11 | 13 |
12 #include "base/gtest_prod_util.h" | 14 #include "base/gtest_prod_util.h" |
| 15 #include "base/macros.h" |
13 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
14 #include "base/time/time.h" | 17 #include "base/time/time.h" |
15 #include "components/metrics/proto/omnibox_event.pb.h" | 18 #include "components/metrics/proto/omnibox_event.pb.h" |
16 #include "components/metrics/proto/omnibox_input_type.pb.h" | 19 #include "components/metrics/proto/omnibox_input_type.pb.h" |
17 #include "components/search_engines/template_url_data.h" | 20 #include "components/search_engines/template_url_data.h" |
18 #include "components/search_engines/template_url_id.h" | 21 #include "components/search_engines/template_url_id.h" |
19 #include "ui/gfx/geometry/size.h" | 22 #include "ui/gfx/geometry/size.h" |
20 #include "url/gurl.h" | 23 #include "url/gurl.h" |
21 #include "url/third_party/mozilla/url_parse.h" | 24 #include "url/third_party/mozilla/url_parse.h" |
22 | 25 |
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
743 TemplateURLRef new_tab_url_ref_; | 746 TemplateURLRef new_tab_url_ref_; |
744 TemplateURLRef contextual_search_url_ref_; | 747 TemplateURLRef contextual_search_url_ref_; |
745 scoped_ptr<AssociatedExtensionInfo> extension_info_; | 748 scoped_ptr<AssociatedExtensionInfo> extension_info_; |
746 | 749 |
747 // TODO(sky): Add date last parsed OSD file. | 750 // TODO(sky): Add date last parsed OSD file. |
748 | 751 |
749 DISALLOW_COPY_AND_ASSIGN(TemplateURL); | 752 DISALLOW_COPY_AND_ASSIGN(TemplateURL); |
750 }; | 753 }; |
751 | 754 |
752 #endif // COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_H_ | 755 #endif // COMPONENTS_SEARCH_ENGINES_TEMPLATE_URL_H_ |
OLD | NEW |