| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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_FEEDBACK_PRIVATE_FEEDBACK_PRIVATE_API_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_FEEDBACK_PRIVATE_FEEDBACK_PRIVATE_API_H_ |
| 6 #define CHROME_BROWSER_EXTENSIONS_API_FEEDBACK_PRIVATE_FEEDBACK_PRIVATE_API_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_FEEDBACK_PRIVATE_FEEDBACK_PRIVATE_API_H_ |
| 7 | 7 |
| 8 #include "chrome/browser/extensions/chrome_extension_function.h" | 8 #include "chrome/browser/extensions/chrome_extension_function.h" |
| 9 #include "chrome/common/extensions/api/feedback_private.h" | 9 #include "chrome/common/extensions/api/feedback_private.h" |
| 10 #include "extensions/browser/browser_context_keyed_api_factory.h" | 10 #include "extensions/browser/browser_context_keyed_api_factory.h" |
| 11 #include "ui/gfx/rect.h" | 11 #include "ui/gfx/geometry/rect.h" |
| 12 | 12 |
| 13 namespace extensions { | 13 namespace extensions { |
| 14 | 14 |
| 15 extern char kFeedbackExtensionId[]; | 15 extern char kFeedbackExtensionId[]; |
| 16 | 16 |
| 17 class FeedbackService; | 17 class FeedbackService; |
| 18 | 18 |
| 19 using extensions::api::feedback_private::SystemInformation; | 19 using extensions::api::feedback_private::SystemInformation; |
| 20 | 20 |
| 21 class FeedbackPrivateAPI : public BrowserContextKeyedAPI { | 21 class FeedbackPrivateAPI : public BrowserContextKeyedAPI { |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 ~FeedbackPrivateSendFeedbackFunction() override {} | 102 ~FeedbackPrivateSendFeedbackFunction() override {} |
| 103 bool RunAsync() override; | 103 bool RunAsync() override; |
| 104 | 104 |
| 105 private: | 105 private: |
| 106 void OnCompleted(bool success); | 106 void OnCompleted(bool success); |
| 107 }; | 107 }; |
| 108 | 108 |
| 109 } // namespace extensions | 109 } // namespace extensions |
| 110 | 110 |
| 111 #endif // CHROME_BROWSER_EXTENSIONS_API_FEEDBACK_PRIVATE_FEEDBACK_PRIVATE_API_H
_ | 111 #endif // CHROME_BROWSER_EXTENSIONS_API_FEEDBACK_PRIVATE_FEEDBACK_PRIVATE_API_H
_ |
| OLD | NEW |