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

Side by Side Diff: chrome/browser/history/history_notifications.h

Issue 8253002: Move PageTransition into content namespace. While I'm touching all these files, I've also updated... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 2 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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 // Structs that hold data used in broadcasting notifications. 5 // Structs that hold data used in broadcasting notifications.
6 6
7 #ifndef CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__ 7 #ifndef CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__
8 #define CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__ 8 #define CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__
9 #pragma once 9 #pragma once
10 10
(...skipping 12 matching lines...) Expand all
23 struct HistoryDetails { 23 struct HistoryDetails {
24 public: 24 public:
25 virtual ~HistoryDetails() {} 25 virtual ~HistoryDetails() {}
26 }; 26 };
27 27
28 // Details for HISTORY_URL_VISITED. 28 // Details for HISTORY_URL_VISITED.
29 struct URLVisitedDetails : public HistoryDetails { 29 struct URLVisitedDetails : public HistoryDetails {
30 URLVisitedDetails(); 30 URLVisitedDetails();
31 virtual ~URLVisitedDetails(); 31 virtual ~URLVisitedDetails();
32 32
33 PageTransition::Type transition; 33 content::PageTransition transition;
34 URLRow row; 34 URLRow row;
35 35
36 // A list of redirects leading up to the URL represented by this struct. If 36 // A list of redirects leading up to the URL represented by this struct. If
37 // we have the redirect chain A -> B -> C and this struct represents visiting 37 // we have the redirect chain A -> B -> C and this struct represents visiting
38 // C, then redirects[0]=B and redirects[1]=A. If there are no redirects, 38 // C, then redirects[0]=B and redirects[1]=A. If there are no redirects,
39 // this will be an empty vector. 39 // this will be an empty vector.
40 history::RedirectList redirects; 40 history::RedirectList redirects;
41 }; 41 };
42 42
43 // Details for NOTIFY_HISTORY_TYPED_URLS_MODIFIED. 43 // Details for NOTIFY_HISTORY_TYPED_URLS_MODIFIED.
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
90 virtual ~KeywordSearchTermDetails(); 90 virtual ~KeywordSearchTermDetails();
91 91
92 GURL url; 92 GURL url;
93 TemplateURLID keyword_id; 93 TemplateURLID keyword_id;
94 string16 term; 94 string16 term;
95 }; 95 };
96 96
97 } // namespace history 97 } // namespace history
98 98
99 #endif // CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__ 99 #endif // CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__
OLDNEW
« no previous file with comments | « chrome/browser/history/history_backend_unittest.cc ('k') | chrome/browser/history/history_notifications.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698