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

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: kalman's requests Created 7 years, 9 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 a025e2859f1220be28b4699331f181f10f6de037..51339cc389d91b62aac1fdcddc6b6a27ead48f88 100644
--- a/chrome/browser/extensions/extension_prefs.h
+++ b/chrome/browser/extensions/extension_prefs.h
@@ -17,6 +17,7 @@
#include "chrome/browser/extensions/extension_prefs_scope.h"
#include "chrome/browser/extensions/extension_scoped_prefs.h"
#include "chrome/browser/media_galleries/media_galleries_preferences.h"
+#include "chrome/common/extensions/api/omnibox.h"
#include "chrome/common/extensions/extension.h"
#include "extensions/common/url_pattern_set.h"
#include "sync/api/string_ordinal.h"
@@ -29,7 +30,6 @@ class PrefRegistrySyncable;
namespace extensions {
class ExtensionPrefsUninstallExtension;
class URLPatternSet;
-struct ExtensionOmniboxSuggestion;
namespace app_file_handler_util {
struct SavedFileEntry;
@@ -327,11 +327,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::SuggestDefaultResult> GetOmniboxDefaultSuggestion(
const std::string& extension_id);
void SetOmniboxDefaultSuggestion(
const std::string& extension_id,
- const ExtensionOmniboxSuggestion& suggestion);
+ const extensions::api::omnibox::SuggestDefaultResult& suggestion);
not at google - send to devlin 2013/03/16 00:04:25 extensions:: looks unnecssary
Aaron Jacobs 2013/03/21 21:59:55 Done.
// Returns true if the user enabled this extension to be loaded in incognito
// mode.

Powered by Google App Engine
This is Rietveld 408576698