| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_HISTORY_HISTORY_BACKEND_H_ | 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ |
| 6 #define CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ | 6 #define CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <utility> | 10 #include <utility> |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 // actually be deleted. | 114 // actually be deleted. |
| 115 void Closing(); | 115 void Closing(); |
| 116 | 116 |
| 117 // See NotifyRenderProcessHostDestruction. | 117 // See NotifyRenderProcessHostDestruction. |
| 118 void NotifyRenderProcessHostDestruction(const void* host); | 118 void NotifyRenderProcessHostDestruction(const void* host); |
| 119 | 119 |
| 120 // Navigation ---------------------------------------------------------------- | 120 // Navigation ---------------------------------------------------------------- |
| 121 | 121 |
| 122 void AddPage(scoped_refptr<HistoryAddPageArgs> request); | 122 void AddPage(scoped_refptr<HistoryAddPageArgs> request); |
| 123 virtual void SetPageTitle(const GURL& url, const string16& title); | 123 virtual void SetPageTitle(const GURL& url, const string16& title); |
| 124 void AddPageNoVisit(const GURL& url); |
| 124 | 125 |
| 125 // Indexing ------------------------------------------------------------------ | 126 // Indexing ------------------------------------------------------------------ |
| 126 | 127 |
| 127 void SetPageContents(const GURL& url, const string16& contents); | 128 void SetPageContents(const GURL& url, const string16& contents); |
| 128 | 129 |
| 129 // Querying ------------------------------------------------------------------ | 130 // Querying ------------------------------------------------------------------ |
| 130 | 131 |
| 131 // ScheduleAutocomplete() never frees |provider| (which is globally live). | 132 // ScheduleAutocomplete() never frees |provider| (which is globally live). |
| 132 // It passes |params| on to the autocomplete system which will eventually | 133 // It passes |params| on to the autocomplete system which will eventually |
| 133 // free it. | 134 // free it. |
| (...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 569 // Publishes the history to all indexers which are registered to receive | 570 // Publishes the history to all indexers which are registered to receive |
| 570 // history data from us. Can be NULL if there are no listeners. | 571 // history data from us. Can be NULL if there are no listeners. |
| 571 scoped_ptr<HistoryPublisher> history_publisher_; | 572 scoped_ptr<HistoryPublisher> history_publisher_; |
| 572 | 573 |
| 573 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); | 574 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); |
| 574 }; | 575 }; |
| 575 | 576 |
| 576 } // namespace history | 577 } // namespace history |
| 577 | 578 |
| 578 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ | 579 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ |
| OLD | NEW |