| OLD | NEW |
| 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_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PRIVATE_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PRIVATE_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PRIVATE_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PRIVATE_API_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" | 10 #include "base/macros.h" |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 protected: | 58 protected: |
| 59 ~PasswordsPrivateRequestPlaintextPasswordFunction() override; | 59 ~PasswordsPrivateRequestPlaintextPasswordFunction() override; |
| 60 | 60 |
| 61 // ExtensionFunction overrides. | 61 // ExtensionFunction overrides. |
| 62 ResponseAction Run() override; | 62 ResponseAction Run() override; |
| 63 | 63 |
| 64 private: | 64 private: |
| 65 DISALLOW_COPY_AND_ASSIGN(PasswordsPrivateRequestPlaintextPasswordFunction); | 65 DISALLOW_COPY_AND_ASSIGN(PasswordsPrivateRequestPlaintextPasswordFunction); |
| 66 }; | 66 }; |
| 67 | 67 |
| 68 class PasswordsPrivateGetSavedPasswordListFunction |
| 69 : public UIThreadExtensionFunction { |
| 70 public: |
| 71 PasswordsPrivateGetSavedPasswordListFunction() {} |
| 72 DECLARE_EXTENSION_FUNCTION("passwordsPrivate.getSavedPasswordList", |
| 73 PASSWORDSPRIVATE_GETSAVEDPASSWORDLIST); |
| 74 |
| 75 protected: |
| 76 ~PasswordsPrivateGetSavedPasswordListFunction() override; |
| 77 |
| 78 // ExtensionFunction overrides. |
| 79 ResponseAction Run() override; |
| 80 |
| 81 private: |
| 82 DISALLOW_COPY_AND_ASSIGN(PasswordsPrivateGetSavedPasswordListFunction); |
| 83 }; |
| 84 |
| 85 class PasswordsPrivateGetPasswordExceptionListFunction |
| 86 : public UIThreadExtensionFunction { |
| 87 public: |
| 88 PasswordsPrivateGetPasswordExceptionListFunction() {} |
| 89 DECLARE_EXTENSION_FUNCTION("passwordsPrivate.getPasswordExceptionList", |
| 90 PASSWORDSPRIVATE_GETPASSWORDEXCEPTIONLIST); |
| 91 |
| 92 protected: |
| 93 ~PasswordsPrivateGetPasswordExceptionListFunction() override; |
| 94 |
| 95 // ExtensionFunction overrides. |
| 96 ResponseAction Run() override; |
| 97 |
| 98 private: |
| 99 DISALLOW_COPY_AND_ASSIGN(PasswordsPrivateGetPasswordExceptionListFunction); |
| 100 }; |
| 101 |
| 68 } // namespace extensions | 102 } // namespace extensions |
| 69 | 103 |
| 70 #endif // CHROME_BROWSER_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PRIVATE_API
_H_ | 104 #endif // CHROME_BROWSER_EXTENSIONS_API_PASSWORDS_PRIVATE_PASSWORDS_PRIVATE_API
_H_ |
| OLD | NEW |