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

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

Issue 179028: Revert "Fix a ton of compiler warnings." (Closed)
Patch Set: Created 11 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
« no previous file with comments | « chrome/browser/history/expire_history_backend.h ('k') | chrome/browser/history/history_types.h » ('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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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"
11 #include "base/scoped_ptr.h" 11 #include "base/scoped_ptr.h"
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // takes ownership of the callback pointer. 88 // takes ownership of the callback pointer.
89 // 89 //
90 // |bookmark_service| is used to determine bookmarked URLs when deleting and 90 // |bookmark_service| is used to determine bookmarked URLs when deleting and
91 // may be NULL. 91 // may be NULL.
92 // 92 //
93 // This constructor is fast and does no I/O, so can be called at any time. 93 // This constructor is fast and does no I/O, so can be called at any time.
94 HistoryBackend(const FilePath& history_dir, 94 HistoryBackend(const FilePath& history_dir,
95 Delegate* delegate, 95 Delegate* delegate,
96 BookmarkService* bookmark_service); 96 BookmarkService* bookmark_service);
97 97
98 virtual ~HistoryBackend(); 98 ~HistoryBackend();
99 99
100 // Must be called after creation but before any objects are created. If this 100 // Must be called after creation but before any objects are created. If this
101 // fails, all other functions will fail as well. (Since this runs on another 101 // fails, all other functions will fail as well. (Since this runs on another
102 // thread, we don't bother returning failure.) 102 // thread, we don't bother returning failure.)
103 void Init(); 103 void Init();
104 104
105 // Notification that the history system is shutting down. This will break 105 // Notification that the history system is shutting down. This will break
106 // the refs owned by the delegate and any pending transaction so it will 106 // the refs owned by the delegate and any pending transaction so it will
107 // actually be deleted. 107 // actually be deleted.
108 void Closing(); 108 void Closing();
(...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 // Publishes the history to all indexers which are registered to receive 510 // Publishes the history to all indexers which are registered to receive
511 // history data from us. Can be NULL if there are no listeners. 511 // history data from us. Can be NULL if there are no listeners.
512 scoped_ptr<HistoryPublisher> history_publisher_; 512 scoped_ptr<HistoryPublisher> history_publisher_;
513 513
514 DISALLOW_COPY_AND_ASSIGN(HistoryBackend); 514 DISALLOW_COPY_AND_ASSIGN(HistoryBackend);
515 }; 515 };
516 516
517 } // namespace history 517 } // namespace history
518 518
519 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_ 519 #endif // CHROME_BROWSER_HISTORY_HISTORY_BACKEND_H_
OLDNEW
« no previous file with comments | « chrome/browser/history/expire_history_backend.h ('k') | chrome/browser/history/history_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698