Home
last modified time | relevance | path

Searched refs:ExtensionFunction (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/extensions/browser/
Dextension_function.cc27 void ExtensionFunctionDeleteTraits::Destruct(const ExtensionFunction* x) { in Destruct()
62 ExtensionFunction::ExtensionFunction() in ExtensionFunction() function in ExtensionFunction
71 ExtensionFunction::~ExtensionFunction() { in ~ExtensionFunction()
74 UIThreadExtensionFunction* ExtensionFunction::AsUIThreadExtensionFunction() { in AsUIThreadExtensionFunction()
78 IOThreadExtensionFunction* ExtensionFunction::AsIOThreadExtensionFunction() { in AsIOThreadExtensionFunction()
82 bool ExtensionFunction::HasPermission() { in HasPermission()
89 void ExtensionFunction::OnQuotaExceeded(const std::string& violation_error) { in OnQuotaExceeded()
94 void ExtensionFunction::SetArgs(const base::ListValue* args) { in SetArgs()
99 void ExtensionFunction::SetResult(base::Value* result) { in SetResult()
104 const base::ListValue* ExtensionFunction::GetResultList() { in GetResultList()
[all …]
Dextension_function.h26 class ExtensionFunction; variable
77 static void Destruct(const ExtensionFunction* x);
82 class ExtensionFunction
83 : public base::RefCountedThreadSafe<ExtensionFunction,
99 ExtensionFunction();
197 virtual ~ExtensionFunction();
266 DISALLOW_COPY_AND_ASSIGN(ExtensionFunction);
271 class UIThreadExtensionFunction : public ExtensionFunction {
355 class IOThreadExtensionFunction : public ExtensionFunction {
Dquota_service.h29 class ExtensionFunction; variable
58 ExtensionFunction* function,
Dquota_service.cc41 ExtensionFunction* function, in Assess()
Dquota_service_unittest.cc62 class MockFunction : public ExtensionFunction {
/external/chromium/chrome/browser/extensions/
Dextension_function.cc13 ExtensionFunction::ExtensionFunction() in ExtensionFunction() function in ExtensionFunction
21 ExtensionFunction::~ExtensionFunction() { in ~ExtensionFunction()
24 const Extension* ExtensionFunction::GetExtension() { in GetExtension()
30 Browser* ExtensionFunction::GetCurrentBrowser() { in GetCurrentBrowser()
Dextension_function.h40 class ExtensionFunction : public base::RefCountedThreadSafe<ExtensionFunction> {
42 ExtensionFunction();
103 friend class base::RefCountedThreadSafe<ExtensionFunction>;
105 virtual ~ExtensionFunction();
161 DISALLOW_COPY_AND_ASSIGN(ExtensionFunction);
170 class AsyncExtensionFunction : public ExtensionFunction {
Dextension_function_dispatcher.h18 class ExtensionFunction; variable
26 typedef ExtensionFunction* (*ExtensionFunctionFactory)();
92 void SendResponse(ExtensionFunction* api, bool success);
104 void HandleBadMessage(ExtensionFunction* api);
Dextension_function_dispatcher.cc78 ExtensionFunction* NewExtensionFunction() { in NewExtensionFunction()
101 ExtensionFunction* NewFunction(const std::string& name);
352 ExtensionFunction* FactoryRegistry::NewFunction(const std::string& name) { in NewFunction()
355 ExtensionFunction* function = iter->second(); in NewFunction()
480 scoped_refptr<ExtensionFunction> function( in HandleRequest()
518 void ExtensionFunctionDispatcher::SendResponse(ExtensionFunction* function, in SendResponse()
525 void ExtensionFunctionDispatcher::HandleBadMessage(ExtensionFunction* api) { in HandleBadMessage()
Dextensions_quota_service.h28 class ExtensionFunction; variable
46 bool Assess(const std::string& extension_id, ExtensionFunction* function,
Dextension_rlz_apitest.cc35 ExtensionFunction* MockRlzSendFinancialPingFunctionFactory() { in MockRlzSendFinancialPingFunctionFactory()
Dextensions_quota_service.cc32 ExtensionFunction* function, const ListValue* args, in Assess()
Dextensions_quota_service_unittest.cc52 class MockFunction : public ExtensionFunction {
/external/chromium_org/chrome/browser/extensions/
Dextension_function_dispatcher.h35 typedef ExtensionFunction* (*ExtensionFunctionFactory)();
115 const ExtensionFunction::ResponseCallback& callback);
137 ExtensionFunction* function,
140 const ExtensionFunction::ResponseCallback& callback);
145 static ExtensionFunction* CreateExtensionFunction(
152 const ExtensionFunction::ResponseCallback& callback);
157 const ExtensionFunction::ResponseCallback& callback);
Dextension_function_dispatcher.cc106 ExtensionFunction::ResponseType type, in CommonResponseCallback()
111 if (type == ExtensionFunction::BAD_MESSAGE) { in CommonResponseCallback()
129 routing_id, request_id, type == ExtensionFunction::SUCCEEDED, results, in CommonResponseCallback()
137 ExtensionFunction::ResponseType type, in IOThreadResponseCallback()
185 ExtensionFunction::ResponseCallback CreateCallback(int request_id) { in CreateCallback()
194 ExtensionFunction::ResponseType type, in OnExtensionFunctionCompleted()
252 ExtensionFunction::ResponseCallback callback( in DispatchOnIOThread()
256 scoped_refptr<ExtensionFunction> function( in DispatchOnIOThread()
327 const ExtensionFunction::ResponseCallback& callback) { in DispatchWithCallback()
342 scoped_refptr<ExtensionFunction> function( in DispatchWithCallback()
[all …]
Dextension_function_registry.h14 class ExtensionFunction; variable
17 typedef ExtensionFunction* (*ExtensionFunctionFactory)();
21 ExtensionFunction* NewExtensionFunction() { in NewExtensionFunction()
45 ExtensionFunction* NewFunction(const std::string& name);
Dextension_function_registry.cc76 ExtensionFunction* ExtensionFunctionRegistry::NewFunction( in NewFunction()
82 ExtensionFunction* function = iter->second.factory_(); in NewFunction()
Dextension_function_test_utils.cc170 scoped_refptr<ExtensionFunction> function_owner(function); in RunFunctionAndReturnError()
189 scoped_refptr<ExtensionFunction> function_owner(function); in RunFunctionAndReturnSingleResult()
/external/chromium_org/chrome/browser/renderer_host/pepper/
Dpepper_extensions_common_message_filter.cc208 ExtensionFunction::ResponseType type, in OnExtensionFunctionCompleted()
219 if (type == ExtensionFunction::BAD_MESSAGE) { in OnExtensionFunctionCompleted()
223 type = ExtensionFunction::FAILED; in OnExtensionFunctionCompleted()
227 type == ExtensionFunction::SUCCEEDED ? PP_OK : PP_ERROR_FAILED); in OnExtensionFunctionCompleted()
Dpepper_extensions_common_message_filter.h88 ExtensionFunction::ResponseType type,
/external/chromium_org/chrome/browser/extensions/api/serial/
Dserial_apitest.cc145 ExtensionFunction* FakeSerialGetDevicesFunctionFactory() { in FakeSerialGetDevicesFunctionFactory()
149 ExtensionFunction* FakeSerialConnectFunctionFactory() { in FakeSerialConnectFunctionFactory()
/external/chromium_org/chrome/browser/chromeos/extensions/file_manager/
Dfile_browser_handler_api_test.cc190 static ExtensionFunction* TestSelectFileFunctionFactory() { in TestSelectFileFunctionFactory()
/external/chromium_org/chrome/browser/extensions/api/tabs/
Dtabs_api.cc1814 return ExtensionFunction::HasPermission(); in HasPermission()