OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 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_API_FUNCTION_H_ | 5 #ifndef CHROME_BROWSER_EXTENSIONS_API_API_FUNCTION_H_ |
6 #define CHROME_BROWSER_EXTENSIONS_API_API_FUNCTION_H_ | 6 #define CHROME_BROWSER_EXTENSIONS_API_API_FUNCTION_H_ |
7 #pragma once | |
8 | 7 |
9 #include "chrome/browser/extensions/extension_function.h" | 8 #include "chrome/browser/extensions/extension_function.h" |
10 #include "chrome/browser/extensions/api/api_resource.h" | 9 #include "chrome/browser/extensions/api/api_resource.h" |
11 #include "content/public/browser/browser_thread.h" | 10 #include "content/public/browser/browser_thread.h" |
12 | 11 |
13 class ExtensionService; | 12 class ExtensionService; |
14 | 13 |
15 namespace extensions { | 14 namespace extensions { |
16 | 15 |
17 class APIResourceController; | 16 class APIResourceController; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 // If you don't want your Work() method to happen on the IO thread, then set | 71 // If you don't want your Work() method to happen on the IO thread, then set |
73 // this to the thread that you do want, preferably in Prepare(). | 72 // this to the thread that you do want, preferably in Prepare(). |
74 content::BrowserThread::ID work_thread_id_; | 73 content::BrowserThread::ID work_thread_id_; |
75 | 74 |
76 ExtensionService* extension_service_; | 75 ExtensionService* extension_service_; |
77 }; | 76 }; |
78 | 77 |
79 } // namespace extensions | 78 } // namespace extensions |
80 | 79 |
81 #endif // CHROME_BROWSER_EXTENSIONS_API_API_FUNCTION_H_ | 80 #endif // CHROME_BROWSER_EXTENSIONS_API_API_FUNCTION_H_ |
OLD | NEW |