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

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

Issue 2802010: Revert 49594 - Convert page contents grabbing from wide to UTF16. The current... (Closed) Base URL: svn://svn.chromium.org/chrome/branches/437/src/
Patch Set: Created 10 years, 6 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) 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 7
8 #include <utility> 8 #include <utility>
9 9
10 #include "base/file_path.h" 10 #include "base/file_path.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 // See NotifyRenderProcessHostDestruction. 109 // See NotifyRenderProcessHostDestruction.
110 void NotifyRenderProcessHostDestruction(const void* host); 110 void NotifyRenderProcessHostDestruction(const void* host);
111 111
112 // Navigation ---------------------------------------------------------------- 112 // Navigation ----------------------------------------------------------------
113 113
114 void AddPage(scoped_refptr<HistoryAddPageArgs> request); 114 void AddPage(scoped_refptr<HistoryAddPageArgs> request);
115 virtual void SetPageTitle(const GURL& url, const std::wstring& title); 115 virtual void SetPageTitle(const GURL& url, const std::wstring& title);
116 116
117 // Indexing ------------------------------------------------------------------ 117 // Indexing ------------------------------------------------------------------
118 118
119 void SetPageContents(const GURL& url, const string16& contents); 119 void SetPageContents(const GURL& url, const std::wstring& contents);
120 120
121 // Querying ------------------------------------------------------------------ 121 // Querying ------------------------------------------------------------------
122 122
123 // ScheduleAutocomplete() never frees |provider| (which is globally live). 123 // ScheduleAutocomplete() never frees |provider| (which is globally live).
124 // It passes |params| on to the autocomplete system which will eventually 124 // It passes |params| on to the autocomplete system which will eventually
125 // free it. 125 // free it.
126 void ScheduleAutocomplete(HistoryURLProvider* provider, 126 void ScheduleAutocomplete(HistoryURLProvider* provider,
127 HistoryURLProviderParams* params); 127 HistoryURLProviderParams* params);
128 128
129 void IterateURLs(HistoryService::URLEnumerator* enumerator); 129 void IterateURLs(HistoryService::URLEnumerator* enumerator);
(...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after
540 // Publishes the history to all indexers which are registered to receive 540 // Publishes the history to all indexers which are registered to receive
541 // history data from us. Can be NULL if there are no listeners. 541 // history data from us. Can be NULL if there are no listeners.
542 scoped_ptr<HistoryPublisher> history_publisher_; 542 scoped_ptr<HistoryPublisher> history_publisher_;
543 543
544 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); 544 DISALLOW_COPY_AND_ASSIGN(HistoryBackend);
545 }; 545 };
546 546
547 } // namespace history 547 } // namespace history
548 548
549 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ 549 #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