Searched defs:Response (Results 1 - 25 of 32) sorted by path

12

/external/chromium_org/chrome/browser/devtools/
H A Ddevtools_protocol.cc59 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 Ddevtools_protocol.h19 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__.py82 __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 Dcron_servlet.py21 from servlet import Servlet, Request, Response namespace
126 return (Response.Ok('Success') if success else
127 Response.InternalError('Failure'))
H A Dhandler.py12 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 Dlink_error_detector_test.py10 from servlet import Response namespace
54 return Response(
58 return Response(status=404)
H A Dpatch_servlet.py20 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 Drefresh_servlet.py21 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 Drender_servlet.py14 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 Drender_servlet_test.py12 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 Dservlet.py73 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 Dtest_servlet.py9 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 Dappcache_executable_handler.h24 // 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 Ddevtools_protocol.cc65 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 Ddevtools_protocol.h26 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 Dmessage.cc397 // 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 Dmessage.h43 // 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 Dhttp_cache_unittest.cc470 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 Dquic_in_memory_cache.cc26 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 Dquic_in_memory_cache.h41 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 DTestWebServer.java76 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 Dquic_in_memory_cache.h42 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 Dwebsocket_channel_test.cc478 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 DCookieParser.js99 this._addCookie(kv, WebInspector.Cookie.Type.Response);
368 Response: 1
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DResponse.cpp6 #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...]

Completed in 1073 milliseconds

12