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

Unified Diff: chrome/browser/extensions/extension_prefs.h

Issue 12314164: Modified Omnibox extension api to use JSON Schema Compiler (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Replaced include with forward declaration Created 7 years, 8 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
Index: chrome/browser/extensions/extension_prefs.h
diff --git a/chrome/browser/extensions/extension_prefs.h b/chrome/browser/extensions/extension_prefs.h
index 9540cf6a309289de2b9c0ae3a7954e957be3b2b2..08a388d87ab46116b7903968ef3df8938847d954 100644
--- a/chrome/browser/extensions/extension_prefs.h
+++ b/chrome/browser/extensions/extension_prefs.h
@@ -29,7 +29,12 @@ class PrefRegistrySyncable;
namespace extensions {
class ExtensionPrefsUninstallExtension;
class URLPatternSet;
-struct ExtensionOmniboxSuggestion;
+
+namespace api {
+namespace omnibox {
+struct SuggestResult;
+}
+}
namespace app_file_handler_util {
struct SavedFileEntry;
@@ -324,11 +329,11 @@ class ExtensionPrefs : public ContentSettingsStore::Observer,
std::vector<app_file_handler_util::SavedFileEntry>* out);
// Controls the omnibox default suggestion as set by the extension.
- ExtensionOmniboxSuggestion GetOmniboxDefaultSuggestion(
+ scoped_ptr<api::omnibox::SuggestResult> GetOmniboxDefaultSuggestion(
const std::string& extension_id);
void SetOmniboxDefaultSuggestion(
const std::string& extension_id,
- const ExtensionOmniboxSuggestion& suggestion);
+ const api::omnibox::SuggestResult& suggestion);
// Returns true if the user enabled this extension to be loaded in incognito
// mode.
« no previous file with comments | « chrome/browser/extensions/api/omnibox/omnibox_unittest.cc ('k') | chrome/browser/extensions/extension_prefs.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698