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

Side by Side Diff: chrome/browser/tab_contents/retargeting_details.h

Issue 10693139: Remove #pragma once from chrome/browser/{tab_contents,password_manager,profiles,search_engines,noti… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_TAB_CONTENTS_RETARGETING_DETAILS_H_ 5 #ifndef CHROME_BROWSER_TAB_CONTENTS_RETARGETING_DETAILS_H_
6 #define CHROME_BROWSER_TAB_CONTENTS_RETARGETING_DETAILS_H_ 6 #define CHROME_BROWSER_TAB_CONTENTS_RETARGETING_DETAILS_H_
7 #pragma once
8 7
9 #include "googleurl/src/gurl.h" 8 #include "googleurl/src/gurl.h"
10 9
11 namespace content { 10 namespace content {
12 class WebContents; 11 class WebContents;
13 } 12 }
14 13
15 // Details sent for NOTIFICATION_RETARGETING. 14 // Details sent for NOTIFICATION_RETARGETING.
16 struct RetargetingDetails { 15 struct RetargetingDetails {
17 // The source tab contents. 16 // The source tab contents.
18 content::WebContents* source_web_contents; 17 content::WebContents* source_web_contents;
19 18
20 // The frame ID of the source tab from which the retargeting was triggered. 19 // The frame ID of the source tab from which the retargeting was triggered.
21 int64 source_frame_id; 20 int64 source_frame_id;
22 21
23 // The target URL. 22 // The target URL.
24 GURL target_url; 23 GURL target_url;
25 24
26 // The target tab contents. 25 // The target tab contents.
27 content::WebContents* target_web_contents; 26 content::WebContents* target_web_contents;
28 27
29 // True if the target_tab_contents is not yet inserted into a tab strip. 28 // True if the target_tab_contents is not yet inserted into a tab strip.
30 bool not_yet_in_tabstrip; 29 bool not_yet_in_tabstrip;
31 }; 30 };
32 31
33 #endif // CHROME_BROWSER_TAB_CONTENTS_RETARGETING_DETAILS_H_ 32 #endif // CHROME_BROWSER_TAB_CONTENTS_RETARGETING_DETAILS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698