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

Side by Side Diff: chrome/browser/extensions/api/cryptotoken_private/cryptotoken_private_api.h

Issue 930493002: Remove an unneeded forward declaration. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE_AP I_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE_AP I_H_
6 #define CHROME_BROWSER_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE_AP I_H_ 6 #define CHROME_BROWSER_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE_AP I_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "chrome/browser/extensions/chrome_extension_function_details.h" 12 #include "chrome/browser/extensions/chrome_extension_function_details.h"
13 #include "chrome/common/extensions/api/cryptotoken_private.h" 13 #include "chrome/common/extensions/api/cryptotoken_private.h"
14 #include "extensions/browser/extension_function.h" 14 #include "extensions/browser/extension_function.h"
15 15
16 // Implementations for chrome.cryptotokenPrivate API functions. 16 // Implementations for chrome.cryptotokenPrivate API functions.
17 17
18 namespace infobars {
19 class InfoBar;
20 }
21
22 namespace extensions { 18 namespace extensions {
23 namespace api { 19 namespace api {
24 20
25 class CryptotokenPrivateCanOriginAssertAppIdFunction 21 class CryptotokenPrivateCanOriginAssertAppIdFunction
26 : public UIThreadExtensionFunction { 22 : public UIThreadExtensionFunction {
27 public: 23 public:
28 CryptotokenPrivateCanOriginAssertAppIdFunction(); 24 CryptotokenPrivateCanOriginAssertAppIdFunction();
29 DECLARE_EXTENSION_FUNCTION("cryptotokenPrivate.canOriginAssertAppId", 25 DECLARE_EXTENSION_FUNCTION("cryptotokenPrivate.canOriginAssertAppId",
30 CRYPTOTOKENPRIVATE_CANORIGINASSERTAPPID) 26 CRYPTOTOKENPRIVATE_CANORIGINASSERTAPPID)
31 protected: 27 protected:
32 ~CryptotokenPrivateCanOriginAssertAppIdFunction() override {} 28 ~CryptotokenPrivateCanOriginAssertAppIdFunction() override {}
33 ResponseAction Run() override; 29 ResponseAction Run() override;
34 30
35 private: 31 private:
36 ChromeExtensionFunctionDetails chrome_details_; 32 ChromeExtensionFunctionDetails chrome_details_;
37 }; 33 };
38 34
39 } // namespace api 35 } // namespace api
40 } // namespace extensions 36 } // namespace extensions
41 37
42 #endif // CHROME_BROWSER_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE _API_H_ 38 #endif // CHROME_BROWSER_EXTENSIONS_API_CRYPTOTOKEN_PRIVATE_CRYPTOTOKEN_PRIVATE _API_H_
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698