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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/omnibox/BUILD.gn ('k') | components/omnibox/shortcuts_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/omnibox/shortcuts_backend.h
diff --git a/chrome/browser/autocomplete/shortcuts_backend.h b/components/omnibox/shortcuts_backend.h
similarity index 97%
rename from chrome/browser/autocomplete/shortcuts_backend.h
rename to components/omnibox/shortcuts_backend.h
index 2c7e650beaa3162b0759628b84160b3d69cfb5a6..5b06f5931eed3050e12fedacc5302fc239e525b8 100644
--- a/chrome/browser/autocomplete/shortcuts_backend.h
+++ b/components/omnibox/shortcuts_backend.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_BACKEND_H_
-#define CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_BACKEND_H_
+#ifndef COMPONENTS_OMNIBOX_SHORTCUTS_BACKEND_H_
+#define COMPONENTS_OMNIBOX_SHORTCUTS_BACKEND_H_
#include <map>
#include <string>
@@ -171,4 +171,4 @@ class ShortcutsBackend : public RefcountedKeyedService,
DISALLOW_COPY_AND_ASSIGN(ShortcutsBackend);
};
-#endif // CHROME_BROWSER_AUTOCOMPLETE_SHORTCUTS_BACKEND_H_
+#endif // COMPONENTS_OMNIBOX_SHORTCUTS_BACKEND_H_
« 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