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

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

Issue 562603002: Move PageTransition from //content/public/common to //ui/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 3 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 9
10 #include <set> 10 #include <set>
11 11
12 #include "chrome/browser/history/history_details.h" 12 #include "chrome/browser/history/history_details.h"
13 #include "chrome/browser/history/history_types.h" 13 #include "chrome/browser/history/history_types.h"
14 #include "components/history/core/browser/keyword_id.h" 14 #include "components/history/core/browser/keyword_id.h"
15 #include "url/gurl.h" 15 #include "url/gurl.h"
16 16
17 namespace history { 17 namespace history {
18 18
19 // Details for NOTIFICATION_HISTORY_URL_VISITED. 19 // Details for NOTIFICATION_HISTORY_URL_VISITED.
20 struct URLVisitedDetails : public HistoryDetails { 20 struct URLVisitedDetails : public HistoryDetails {
21 URLVisitedDetails(); 21 URLVisitedDetails();
22 virtual ~URLVisitedDetails(); 22 virtual ~URLVisitedDetails();
23 23
24 content::PageTransition transition; 24 ui::PageTransition transition;
25 25
26 // The affected URLRow. The ID will be set to the value that is currently in 26 // The affected URLRow. The ID will be set to the value that is currently in
27 // effect in the main history database. 27 // effect in the main history database.
28 URLRow row; 28 URLRow row;
29 29
30 // A list of redirects leading up to the URL represented by this struct. If 30 // A list of redirects leading up to the URL represented by this struct. If
31 // we have the redirect chain A -> B -> C and this struct represents visiting 31 // we have the redirect chain A -> B -> C and this struct represents visiting
32 // C, then redirects[0]=B and redirects[1]=A. If there are no redirects, 32 // C, then redirects[0]=B and redirects[1]=A. If there are no redirects,
33 // this will be an empty vector. 33 // this will be an empty vector.
34 history::RedirectList redirects; 34 history::RedirectList redirects;
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 explicit KeywordSearchDeletedDetails(URLID url_row_id); 88 explicit KeywordSearchDeletedDetails(URLID url_row_id);
89 virtual ~KeywordSearchDeletedDetails(); 89 virtual ~KeywordSearchDeletedDetails();
90 90
91 // The ID of the corresponding URLRow in the main history database. 91 // The ID of the corresponding URLRow in the main history database.
92 URLID url_row_id; 92 URLID url_row_id;
93 }; 93 };
94 94
95 } // namespace history 95 } // namespace history
96 96
97 #endif // CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__ 97 #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