| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |