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

Side by Side Diff: components/omnibox/shortcuts_backend.h

Issue 1176153006: Componentize ShortcutsBackend (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@shortcuts_backend_dependency_injection
Patch Set: Rebase Created 5 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
« no previous file with comments | « components/omnibox/BUILD.gn ('k') | components/omnibox/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 COMPONENTS_OMNIBOX_SHORTCUTS_BACKEND_H_
6 #define CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_BACKEND_H_ 6 #define COMPONENTS_OMNIBOX_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"
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after
164 164
165 scoped_refptr<base::SequencedTaskRunner> main_runner_; 165 scoped_refptr<base::SequencedTaskRunner> main_runner_;
166 scoped_refptr<base::SequencedTaskRunner> db_runner_; 166 scoped_refptr<base::SequencedTaskRunner> db_runner_;
167 167
168 // For some unit-test only. 168 // For some unit-test only.
169 bool no_db_access_; 169 bool no_db_access_;
170 170
171 DISALLOW_COPY_AND_ASSIGN(ShortcutsBackend); 171 DISALLOW_COPY_AND_ASSIGN(ShortcutsBackend);
172 }; 172 };
173 173
174 #endif // CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_BACKEND_H_ 174 #endif // COMPONENTS_OMNIBOX_SHORTCUTS_BACKEND_H_
OLDNEW
« no previous file with comments | « components/omnibox/BUILD.gn ('k') | components/omnibox/shortcuts_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698