OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 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_ONE_GOOGLE_BAR_ONE_GOOGLE_BAR_DATA_H_ | 5 #ifndef CHROME_BROWSER_SEARCH_ONE_GOOGLE_BAR_ONE_GOOGLE_BAR_DATA_H_ |
6 #define CHROME_BROWSER_SEARCH_ONE_GOOGLE_BAR_ONE_GOOGLE_BAR_DATA_H_ | 6 #define CHROME_BROWSER_SEARCH_ONE_GOOGLE_BAR_ONE_GOOGLE_BAR_DATA_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 // This struct contains all the data needed to inject a OneGoogleBar into a | 10 // This struct contains all the data needed to inject a OneGoogleBar into a |
(...skipping 11 matching lines...) Expand all Loading... |
22 std::string bar_html; | 22 std::string bar_html; |
23 | 23 |
24 // "Page hooks" that need to be inserted at certain points in the page HTML. | 24 // "Page hooks" that need to be inserted at certain points in the page HTML. |
25 std::string in_head_script; | 25 std::string in_head_script; |
26 std::string in_head_style; | 26 std::string in_head_style; |
27 std::string after_bar_script; | 27 std::string after_bar_script; |
28 std::string end_of_body_html; | 28 std::string end_of_body_html; |
29 std::string end_of_body_script; | 29 std::string end_of_body_script; |
30 }; | 30 }; |
31 | 31 |
| 32 bool operator==(const OneGoogleBarData& lhs, const OneGoogleBarData& rhs); |
| 33 bool operator!=(const OneGoogleBarData& lhs, const OneGoogleBarData& rhs); |
| 34 |
32 #endif // CHROME_BROWSER_SEARCH_ONE_GOOGLE_BAR_ONE_GOOGLE_BAR_DATA_H_ | 35 #endif // CHROME_BROWSER_SEARCH_ONE_GOOGLE_BAR_ONE_GOOGLE_BAR_DATA_H_ |
OLD | NEW |