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

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

Issue 10963018: Rework arguments of HistoryService::AddPage() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix Windows compile Created 8 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 | Annotate | Revision Log
« no previous file with comments | « chrome/browser/history/history.cc ('k') | chrome/browser/history/history_backend.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #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 7
8 #include <string> 8 #include <string>
9 #include <utility> 9 #include <utility>
10 10
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 // Notification that the history system is shutting down. This will break 138 // Notification that the history system is shutting down. This will break
139 // the refs owned by the delegate and any pending transaction so it will 139 // the refs owned by the delegate and any pending transaction so it will
140 // actually be deleted. 140 // actually be deleted.
141 void Closing(); 141 void Closing();
142 142
143 // See NotifyRenderProcessHostDestruction. 143 // See NotifyRenderProcessHostDestruction.
144 void NotifyRenderProcessHostDestruction(const void* host); 144 void NotifyRenderProcessHostDestruction(const void* host);
145 145
146 // Navigation ---------------------------------------------------------------- 146 // Navigation ----------------------------------------------------------------
147 147
148 void AddPage(scoped_refptr<HistoryAddPageArgs> request); 148 void AddPage(const HistoryAddPageArgs& request);
149 virtual void SetPageTitle(const GURL& url, const string16& title); 149 virtual void SetPageTitle(const GURL& url, const string16& title);
150 void AddPageNoVisitForBookmark(const GURL& url, const string16& title); 150 void AddPageNoVisitForBookmark(const GURL& url, const string16& title);
151 151
152 // Updates the database backend with a page's ending time stamp information. 152 // Updates the database backend with a page's ending time stamp information.
153 // The page can be identified by the combination of the pointer to 153 // The page can be identified by the combination of the pointer to
154 // a RenderProcessHost, the page id and the url. 154 // a RenderProcessHost, the page id and the url.
155 // 155 //
156 // The given pointer will not be dereferenced, it is only used for 156 // The given pointer will not be dereferenced, it is only used for
157 // identification purposes, hence it is a void*. 157 // identification purposes, hence it is a void*.
158 void UpdateWithPageEndTime(const void* host, 158 void UpdateWithPageEndTime(const void* host,
(...skipping 734 matching lines...) Expand 10 before | Expand all | Expand 10 after
893 // Used to provide the Android ContentProvider APIs. 893 // Used to provide the Android ContentProvider APIs.
894 scoped_ptr<AndroidProviderBackend> android_provider_backend_; 894 scoped_ptr<AndroidProviderBackend> android_provider_backend_;
895 #endif 895 #endif
896 896
897 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); 897 DISALLOW_COPY_AND_ASSIGN(HistoryBackend);
898 }; 898 };
899 899
900 } // namespace history 900 } // namespace history
901 901
902 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ 902 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/history.cc ('k') | chrome/browser/history/history_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698