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

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

Issue 46039: Removed unneeded includes of base/scoped_ptr.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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) 2006-2008 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 // Contains the history backend wrapper around the in-memory URL database. This 5 // Contains the history backend wrapper around the in-memory URL database. This
6 // object maintains an in-memory cache of the subset of history required to do 6 // object maintains an in-memory cache of the subset of history required to do
7 // in-line autocomplete. 7 // in-line autocomplete.
8 // 8 //
9 // It is created on the history thread and passed to the main thread where 9 // It is created on the history thread and passed to the main thread where
10 // operations can be completed synchronously. It listenes for notifications 10 // operations can be completed synchronously. It listenes for notifications
11 // from the "regular" history backend and keeps itself in sync. 11 // from the "regular" history backend and keeps itself in sync.
12 12
13 #ifndef CHROME_BROWSER_HISTORY_IN_MEMORY_HISTORY_BACKEND_H_ 13 #ifndef CHROME_BROWSER_HISTORY_IN_MEMORY_HISTORY_BACKEND_H_
14 #define CHROME_BROWSER_HISTORY_IN_MEMORY_HISTORY_BACKEND_H_ 14 #define CHROME_BROWSER_HISTORY_IN_MEMORY_HISTORY_BACKEND_H_
15 15
16 #include <string> 16 #include <string>
17 17
18 #include "base/basictypes.h" 18 #include "base/basictypes.h"
19 #include "base/scoped_ptr.h"
19 #include "chrome/browser/history/history_notifications.h" 20 #include "chrome/browser/history/history_notifications.h"
20 #include "chrome/common/notification_observer.h" 21 #include "chrome/common/notification_observer.h"
21 22
22 class HistoryDatabase; 23 class HistoryDatabase;
23 class Profile; 24 class Profile;
24 25
25 namespace history { 26 namespace history {
26 27
27 class InMemoryDatabase; 28 class InMemoryDatabase;
28 29
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 // know whether to unregister (the initialization may have failed, so we 71 // know whether to unregister (the initialization may have failed, so we
71 // may be destroyed before attaching to the main thread. 72 // may be destroyed before attaching to the main thread.
72 bool registered_for_notifications_; 73 bool registered_for_notifications_;
73 74
74 DISALLOW_COPY_AND_ASSIGN(InMemoryHistoryBackend); 75 DISALLOW_COPY_AND_ASSIGN(InMemoryHistoryBackend);
75 }; 76 };
76 77
77 } // namespace history 78 } // namespace history
78 79
79 #endif // CHROME_BROWSER_IN_MEMORY_HISTORY_BACKEND_H_ 80 #endif // CHROME_BROWSER_IN_MEMORY_HISTORY_BACKEND_H_
OLDNEW
« no previous file with comments | « chrome/browser/gtk/location_bar_view_gtk.h ('k') | chrome/browser/renderer_host/render_widget_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698