| OLD | NEW |
| 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 #include <vector> | 11 #include <vector> |
| 12 | 12 |
| 13 #include "googleurl/src/gurl.h" | 13 #include "googleurl/src/gurl.h" |
| 14 #include "chrome/browser/common/url_database/template_url_id.h" |
| 14 #include "chrome/browser/history/history_types.h" | 15 #include "chrome/browser/history/history_types.h" |
| 15 #include "chrome/browser/search_engines/template_url_id.h" | |
| 16 | 16 |
| 17 namespace history { | 17 namespace history { |
| 18 | 18 |
| 19 // Base class for history notifications. This needs only a virtual destructor | 19 // Base class for history notifications. This needs only a virtual destructor |
| 20 // so that the history service's broadcaster can delete it when the request | 20 // so that the history service's broadcaster can delete it when the request |
| 21 // is complete. | 21 // is complete. |
| 22 struct HistoryDetails { | 22 struct HistoryDetails { |
| 23 public: | 23 public: |
| 24 virtual ~HistoryDetails() {} | 24 virtual ~HistoryDetails() {} |
| 25 }; | 25 }; |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 92 virtual ~KeywordSearchTermDetails(); | 92 virtual ~KeywordSearchTermDetails(); |
| 93 | 93 |
| 94 GURL url; | 94 GURL url; |
| 95 TemplateURLID keyword_id; | 95 TemplateURLID keyword_id; |
| 96 string16 term; | 96 string16 term; |
| 97 }; | 97 }; |
| 98 | 98 |
| 99 } // namespace history | 99 } // namespace history |
| 100 | 100 |
| 101 #endif // CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__ | 101 #endif // CHROME_BROWSER_HISTORY_HISTORY_NOTIFICATIONS_H__ |
| OLD | NEW |