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

Side by Side Diff: chrome/browser/extensions/api/discovery/discovery_api.h

Issue 10391034: Scaffolding for an experimental discovery API letting users inject links in the recommended pane of… (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Answered review comments from PatchSet 4. Created 8 years, 7 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROME_BROWSER_EXTENSIONS_API_DISCOVERY_DISCOVERY_API_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_DISCOVERY_DISCOVERY_API_H_
7 #pragma once
8
9 #include "chrome/browser/extensions/extension_function.h"
10
11 namespace extensions {
12
13 class DiscoverySuggestFunction : public SyncExtensionFunction {
14 public:
15 DECLARE_EXTENSION_FUNCTION_NAME("experimental.discovery.suggest");
16
17 protected:
18 virtual ~DiscoverySuggestFunction() {}
19 virtual bool RunImpl() OVERRIDE;
20 };
21
22 class DiscoveryRemoveSuggestionFunction : public SyncExtensionFunction {
23 public:
24 DECLARE_EXTENSION_FUNCTION_NAME("experimental.discovery.removeSuggestion");
25
26 protected:
27 virtual ~DiscoveryRemoveSuggestionFunction() {}
28 virtual bool RunImpl() OVERRIDE;
29 };
30
31 class DiscoveryClearAllSuggestionsFunction : public SyncExtensionFunction {
32 public:
33 DECLARE_EXTENSION_FUNCTION_NAME("experimental.discovery.clearAllSuggestions");
34
35 protected:
36 virtual ~DiscoveryClearAllSuggestionsFunction() {}
37 virtual bool RunImpl() OVERRIDE;
38 };
39
40 } // namespace extensions
41
42 #endif // CHROME_BROWSER_EXTENSIONS_API_DISCOVERY_DISCOVERY_API_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/app/app_api.cc ('k') | chrome/browser/extensions/api/discovery/discovery_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698