/external/chromium_org/chrome/browser/devtools/ |
H A D | devtools_protocol.cc | 59 scoped_ptr<DevToolsProtocol::Response> 61 return scoped_ptr<DevToolsProtocol::Response>( 62 new DevToolsProtocol::Response(id_, result)); 65 scoped_ptr<DevToolsProtocol::Response> 69 return scoped_ptr<DevToolsProtocol::Response>( 70 new DevToolsProtocol::Response(id_, kErrorInvalidParams, message)); 81 DevToolsProtocol::Response::~Response() { 84 DevToolsProtocol::Response::Response(in function in class:DevToolsProtocol::Response 92 DevToolsProtocol::Response::Response(int id, base::DictionaryValue* result) function in class:DevToolsProtocol::Response [all...] |
H A D | devtools_protocol.h | 19 class Response; 47 scoped_ptr<Response> SuccessResponse(base::DictionaryValue* result); 50 scoped_ptr<Response> InvalidParamResponse(const std::string& param); 58 class Response { class in class:DevToolsProtocol 60 virtual ~Response(); 71 Response(int id, int error_code, const std::string error_message); 72 Response(int id, base::DictionaryValue* result); 78 DISALLOW_COPY_AND_ASSIGN(Response); 102 static Response* ParseResponse(const std::string& json);
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/ |
H A D | __init__.py | 82 __all__ = ['Http', 'Response', 'ProxyInfo', 'HttpLib2Error', 885 response = Response(response) 984 being and instance of the 'Response' class, the second being 1069 response.previous = Response(info) 1086 response = Response(info) 1109 merged_response = Response(info) 1126 response = Response(info) 1139 response = Response( { 1147 response = Response( { 1161 class Response(dic class in inherits:dict [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
H A D | cron_servlet.py | 21 from servlet import Servlet, Request, Response namespace 126 return (Response.Ok('Success') if success else 127 Response.InternalError('Failure'))
|
H A D | handler.py | 12 from servlet import Servlet, Request, Response namespace 44 return Response.Ok('Cron job started.') 48 return Response.Ok('Task enqueued.') 51 return Response.NotFound('"%s" servlet not found' % servlet_path)
|
H A D | link_error_detector_test.py | 10 from servlet import Response namespace 54 return Response( 58 return Response(status=404)
|
H A D | patch_servlet.py | 20 from servlet import Request, Response, Servlet namespace 93 return Response.Redirect( 100 return Response.NotFound('Malformed URL. It should look like ' + 112 response = Response.NotFound(e.message, {'Content-Type': 'text/plain'}) 116 response = Response.Redirect('/_patch/%s%s' % (issue, redirect_url),
|
H A D | refresh_servlet.py | 21 from servlet import Servlet, Request, Response namespace 109 return Response.ThrottledError('Throttled') 122 return (Response.Ok('Success') if success else 123 Response.InternalError('Failure'))
|
H A D | render_servlet.py | 14 from servlet import Servlet, Response namespace 52 return Response.Redirect('/' + path, permanent=True) 72 return Response.NotFound(response.content.ToString(), 76 return Response.NotFound('Not Found', headers=_MakeHeaders('text/plain')) 79 '''Returns the Response from trying to render |path| with 96 return Response.Redirect(redirect, permanent=False) 101 return Response.Redirect('/' + redirect_path, permanent=False) 106 return Response.Redirect('/' + request_path.rstrip('/'), 150 return Response.NotModified('Not Modified', headers=headers) 151 return Response [all...] |
H A D | render_servlet_test.py | 12 from servlet import Request, Response namespace 28 Response.Redirect('/apps/storage', permanent=False), 34 Response.Redirect('/extensions/storage', permanent=True), 39 Response.Redirect('https://developer.chrome.com/extensions', 43 Response.Redirect('https://developer.chrome.com/extensions',
|
H A D | servlet.py | 73 class Response(object): class in inherits:object 89 return Response(content=content, headers=headers, status=200) 96 return Response(headers={'Location': url}, status=status) 102 return Response(content=content, headers=headers, status=404) 106 return Response(content=content, headers=headers, status=304) 112 return Response(content=content, headers=headers, status=500) 118 return Response(content=content, headers=headers, status=429) 156 return 'Response(content=%s bytes, status=%s, headers=%s)' % ( 167 '''Returns a Response.
|
H A D | test_servlet.py | 9 from servlet import Request, Response, Servlet namespace 49 return Response.NotFound('Test %s not found. Available tests are: %s' % ( 71 return Response.InternalError(content=content) 73 return Response.Ok(content="%s test passed." % self._request.path)
|
/external/chromium_org/content/browser/appcache/ |
H A D | appcache_executable_handler.h | 24 // in 'Response' are empty and use_network is false, an error response is 26 struct Response { struct in class:content::AppCacheExecutableHandler 33 typedef base::Callback<void(const Response&)> ResponseCallback;
|
/external/chromium_org/content/browser/devtools/ |
H A D | devtools_protocol.cc | 65 scoped_refptr<DevToolsProtocol::Response> 67 return new DevToolsProtocol::Response(id_, result); 70 scoped_refptr<DevToolsProtocol::Response> 72 return new DevToolsProtocol::Response(id_, kErrorInternalError, message); 75 scoped_refptr<DevToolsProtocol::Response> 79 return new DevToolsProtocol::Response(id_, kErrorInvalidParams, message); 82 scoped_refptr<DevToolsProtocol::Response> 84 return new Response(id_, kErrorNoSuchMethod, "No such method"); 87 scoped_refptr<DevToolsProtocol::Response> 89 return new Response(id 134 DevToolsProtocol::Response::Response(int id, base::DictionaryValue* result) function in class:content::DevToolsProtocol::Response 141 DevToolsProtocol::Response::Response(int id, function in class:content::DevToolsProtocol::Response [all...] |
H A D | devtools_protocol.h | 26 class Response; 56 scoped_refptr<Response> SuccessResponse(base::DictionaryValue* result); 59 scoped_refptr<Response> InternalErrorResponse(const std::string& message); 62 scoped_refptr<Response> InvalidParamResponse(const std::string& param); 65 scoped_refptr<Response> NoSuchMethodErrorResponse(); 68 scoped_refptr<Response> ServerErrorResponse(const std::string& message); 71 scoped_refptr<Response> AsyncResponsePromise(); 86 class Response : public base::RefCountedThreadSafe<Response> { class in class:content::DevToolsProtocol 93 friend class base::RefCountedThreadSafe<Response>; [all...] |
/external/chromium_org/dbus/ |
H A D | message.cc | 397 // Response implementation. 400 Response::Response() : Message() { function in class:dbus::Response 403 scoped_ptr<Response> Response::FromRawMessage(DBusMessage* raw_message) { 407 scoped_ptr<Response> response(new Response); 412 scoped_ptr<Response> Response::FromMethodCall(MethodCall* method_call) { 413 scoped_ptr<Response> respons [all...] |
H A D | message.h | 43 // sub classes such as MethodCall and Response instead. 199 // Response is a type of message used for receiving a response from a 201 class CHROME_DBUS_EXPORT Response : public Message { class in namespace:dbus 203 // Returns a newly created Response from the given raw message of the 205 static scoped_ptr<Response> FromRawMessage(DBusMessage* raw_message); 207 // Returns a newly created Response from the given method call. 210 static scoped_ptr<Response> FromMethodCall(MethodCall* method_call); 212 // Returns a newly created Response with an empty payload. 214 static scoped_ptr<Response> CreateEmpty(); 217 // Creates a Response messag [all...] |
/external/chromium_org/net/http/ |
H A D | http_cache_unittest.cc | 470 struct Response { struct in namespace:__anon9290 2284 const Response& net_response_1, 2285 const Response& net_response_2, 2286 const Response& cached_response_2, 2294 static const Response kUnexpectedResponse = { 2387 static const Response kNetResponse1 = { 2395 static const Response kNetResponse2 = { 2413 static const Response kNetResponse1 = { 2422 static const Response kNetResponse2 = { 2441 static const Response kNetResponse [all...] |
/external/chromium_org/net/quic/ |
H A D | quic_in_memory_cache.cc | 26 QuicInMemoryCache::Response::Response() : response_type_(REGULAR_RESPONSE) { function in class:net::QuicInMemoryCache::Response 29 QuicInMemoryCache::Response::~Response() { 37 const QuicInMemoryCache::Response* QuicInMemoryCache::GetResponse( 73 LOG(DFATAL) << "Response for given request already exists!"; 76 Response* new_response = new Response();
|
H A D | quic_in_memory_cache.h | 41 class Response { class in class:net::QuicInMemoryCache 43 Response(); 44 ~Response(); 64 DISALLOW_COPY_AND_ASSIGN(Response); 73 const Response* GetResponse(const GURL& url) const; 93 typedef base::hash_map<std::string, Response*> ResponseMap;
|
/external/chromium_org/net/test/android/javatests/src/org/chromium/net/test/util/ |
H A D | TestWebServer.java | 76 private static class Response { class in class:TestWebServer 83 Response(byte[] responseData, List<Pair<String, String>> responseHeaders, method in class:TestWebServer.Response 97 private final Map<String, Response> mResponseMap = new HashMap<String, Response>(); 181 mResponseMap.put(requestPath, new Response( 404 Response response = null;
|
/external/chromium_org/net/tools/quic/ |
H A D | quic_in_memory_cache.h | 42 class Response { class in class:net::tools::QuicInMemoryCache 44 Response() : response_type_(REGULAR_RESPONSE) {} function in class:net::tools::QuicInMemoryCache::Response 45 ~Response() {} 65 DISALLOW_COPY_AND_ASSIGN(Response); 74 const Response* GetResponse(const BalsaHeaders& request_headers) const; 97 typedef base::hash_map<std::string, Response*> ResponseMap;
|
/external/chromium_org/net/websockets/ |
H A D | websocket_channel_test.cc | 478 responses_.push_back(new Response(async, error, CreateFrameVector(frames))); 486 responses_.push_back(new Response(async, error, frames.Pass())); 492 new Response(async, error, ScopedVector<WebSocketFrame>())); 524 struct Response { struct in class:net::__anon9820::ReadableFakeWebSocketStream 525 Response(IsSync async, int error, ScopedVector<WebSocketFrame> frames) function in struct:net::__anon9820::ReadableFakeWebSocketStream::Response 534 DISALLOW_COPY_AND_ASSIGN(Response); 536 ScopedVector<Response> responses_;
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/ |
H A D | CookieParser.js | 99 this._addCookie(kv, WebInspector.Cookie.Type.Response); 368 Response: 1
|
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/ |
H A D | Response.cpp | 6 #include "Response.h" 49 Response* Response::create(ExecutionContext* context, Blob* body, const Dictionary& responseInit, ExceptionState& exceptionState) 54 Response* Response::create(ExecutionContext* context, const String& body, const Dictionary& responseInit, ExceptionState& exceptionState) 65 Response* Response::create(ExecutionContext* context, const ArrayBuffer* body, const Dictionary& responseInit, ExceptionState& exceptionState) 74 Response* Response::create(ExecutionContext* context, const ArrayBufferView* body, const Dictionary& responseInit, ExceptionState& exceptionState) 83 Response* Respons 223 Response::Response(ExecutionContext* context) function in class:blink::Response 231 Response::Response(const Response& copy_from) function in class:blink::Response 238 Response::Response(ExecutionContext* context, FetchResponseData* response) function in class:blink::Response 247 Response::Response(ExecutionContext* context, const WebServiceWorkerResponse& webResponse) function in class:blink::Response [all...] |