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

Side by Side Diff: chrome/browser/chromeos/extensions/launcher_search_provider.h

Issue 2344653002: [Extensions] Convert some ChromeSyncExtensionFunctions (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/launcher_search_provider.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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_CHROMEOS_EXTENSIONS_LAUNCHER_SEARCH_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_EXTENSIONS_LAUNCHER_SEARCH_PROVIDER_H_
6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_LAUNCHER_SEARCH_PROVIDER_H_ 6 #define CHROME_BROWSER_CHROMEOS_EXTENSIONS_LAUNCHER_SEARCH_PROVIDER_H_
7 7
8 #include "chrome/browser/extensions/chrome_extension_function.h" 8 #include "extensions/browser/extension_function.h"
9 9
10 namespace extensions { 10 namespace extensions {
11 11
12 // Implements chrome.launcherSearchProvider.setSearchResults method. 12 // Implements chrome.launcherSearchProvider.setSearchResults method.
13 class LauncherSearchProviderSetSearchResultsFunction 13 class LauncherSearchProviderSetSearchResultsFunction
14 : public ChromeSyncExtensionFunction { 14 : public UIThreadExtensionFunction {
15 public: 15 public:
16 DECLARE_EXTENSION_FUNCTION("launcherSearchProvider.setSearchResults", 16 DECLARE_EXTENSION_FUNCTION("launcherSearchProvider.setSearchResults",
17 LAUNCHERSEARCHPROVIDER_SETSEARCHRESULTS) 17 LAUNCHERSEARCHPROVIDER_SETSEARCHRESULTS)
18 protected: 18 protected:
19 ~LauncherSearchProviderSetSearchResultsFunction() override; 19 ~LauncherSearchProviderSetSearchResultsFunction() override;
20 bool RunSync() override; 20 ResponseAction Run() override;
21 }; 21 };
22 22
23 } // namespace extensions 23 } // namespace extensions
24 24
25 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_LAUNCHER_SEARCH_PROVIDER_H_ 25 #endif // CHROME_BROWSER_CHROMEOS_EXTENSIONS_LAUNCHER_SEARCH_PROVIDER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chromeos/extensions/launcher_search_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698