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

Side by Side Diff: chrome/browser/autocomplete/shortcuts_backend.h

Issue 830503003: Move shortcuts_database.{cc,h} to //chrome/browser/autocomplete (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@history-file-moves
Patch Set: Rebase Created 5 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
« no previous file with comments | « no previous file | chrome/browser/autocomplete/shortcuts_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_AUTOCOMPLETE_SHORTCUTS_BACKEND_H_ 5 #ifndef CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_BACKEND_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_BACKEND_H_ 6 #define CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_BACKEND_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
11 11
12 #include "base/files/file_path.h" 12 #include "base/files/file_path.h"
13 #include "base/gtest_prod_util.h" 13 #include "base/gtest_prod_util.h"
14 #include "base/memory/ref_counted.h" 14 #include "base/memory/ref_counted.h"
15 #include "base/memory/scoped_ptr.h" 15 #include "base/memory/scoped_ptr.h"
16 #include "base/observer_list.h" 16 #include "base/observer_list.h"
17 #include "base/strings/string16.h" 17 #include "base/strings/string16.h"
18 #include "base/synchronization/lock.h" 18 #include "base/synchronization/lock.h"
19 #include "base/time/time.h" 19 #include "base/time/time.h"
20 #include "chrome/browser/history/shortcuts_database.h" 20 #include "chrome/browser/autocomplete/shortcuts_database.h"
21 #include "components/keyed_service/core/refcounted_keyed_service.h" 21 #include "components/keyed_service/core/refcounted_keyed_service.h"
22 #include "components/omnibox/autocomplete_match.h" 22 #include "components/omnibox/autocomplete_match.h"
23 #include "content/public/browser/notification_observer.h" 23 #include "content/public/browser/notification_observer.h"
24 #include "content/public/browser/notification_registrar.h" 24 #include "content/public/browser/notification_registrar.h"
25 #include "url/gurl.h" 25 #include "url/gurl.h"
26 26
27 class Profile; 27 class Profile;
28 28
29 namespace history { 29 namespace history {
30 class ShortcutsDatabase; 30 class ShortcutsDatabase;
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 145
146 content::NotificationRegistrar notification_registrar_; 146 content::NotificationRegistrar notification_registrar_;
147 147
148 // For some unit-test only. 148 // For some unit-test only.
149 bool no_db_access_; 149 bool no_db_access_;
150 150
151 DISALLOW_COPY_AND_ASSIGN(ShortcutsBackend); 151 DISALLOW_COPY_AND_ASSIGN(ShortcutsBackend);
152 }; 152 };
153 153
154 #endif // CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_BACKEND_H_ 154 #endif // CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_BACKEND_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/autocomplete/shortcuts_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698