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

Side by Side Diff: chrome/browser/search/one_google_bar/one_google_bar_data.h

Issue 2811353002: Local NTP: Introduce OneGoogleBarService (Closed)
Patch Set: fix memleak Created 3 years, 8 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
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/search/one_google_bar/one_google_bar_data.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « chrome/browser/BUILD.gn ('k') | chrome/browser/search/one_google_bar/one_google_bar_data.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698