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

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

Issue 517054: Remove all uses of EmptyString16(), EmptyWString(), and EmptyGURL(), and thei... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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) 2009 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_H__ 5 #ifndef CHROME_BROWSER_HISTORY_HISTORY_H__
6 #define CHROME_BROWSER_HISTORY_HISTORY_H__ 6 #define CHROME_BROWSER_HISTORY_HISTORY_H__
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
11 #include "base/basictypes.h" 11 #include "base/basictypes.h"
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 base::Time time, 183 base::Time time,
184 const void* id_scope, 184 const void* id_scope,
185 int32 page_id, 185 int32 page_id,
186 const GURL& referrer, 186 const GURL& referrer,
187 PageTransition::Type transition, 187 PageTransition::Type transition,
188 const history::RedirectList& redirects, 188 const history::RedirectList& redirects,
189 bool did_replace_entry); 189 bool did_replace_entry);
190 190
191 // For adding pages to history where no tracking information can be done. 191 // For adding pages to history where no tracking information can be done.
192 void AddPage(const GURL& url) { 192 void AddPage(const GURL& url) {
193 AddPage(url, NULL, 0, GURL::EmptyGURL(), PageTransition::LINK, 193 AddPage(url, NULL, 0, GURL(), PageTransition::LINK, history::RedirectList(),
194 history::RedirectList(), false); 194 false);
195 } 195 }
196 196
197 // Sets the title for the given page. The page should be in history. If it 197 // Sets the title for the given page. The page should be in history. If it
198 // is not, this operation is ignored. This call will not update the full 198 // is not, this operation is ignored. This call will not update the full
199 // text index. The last title set when the page is indexed will be the 199 // text index. The last title set when the page is indexed will be the
200 // title in the full text index. 200 // title in the full text index.
201 void SetPageTitle(const GURL& url, const std::wstring& title); 201 void SetPageTitle(const GURL& url, const std::wstring& title);
202 202
203 // Indexing ------------------------------------------------------------------ 203 // Indexing ------------------------------------------------------------------
204 204
(...skipping 604 matching lines...) Expand 10 before | Expand all | Expand 10 after
809 809
810 // Cached values from Init(), used whenever we need to reload the backend. 810 // Cached values from Init(), used whenever we need to reload the backend.
811 FilePath history_dir_; 811 FilePath history_dir_;
812 BookmarkService* bookmark_service_; 812 BookmarkService* bookmark_service_;
813 bool no_db_; 813 bool no_db_;
814 814
815 DISALLOW_COPY_AND_ASSIGN(HistoryService); 815 DISALLOW_COPY_AND_ASSIGN(HistoryService);
816 }; 816 };
817 817
818 #endif // CHROME_BROWSER_HISTORY_HISTORY_H__ 818 #endif // CHROME_BROWSER_HISTORY_HISTORY_H__
OLDNEW
« no previous file with comments | « chrome/browser/gtk/tabs/tab_strip_gtk.cc ('k') | chrome/browser/notifications/desktop_notification_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698