| Index: chrome/browser/automation/url_request_automation_job.h
|
| ===================================================================
|
| --- chrome/browser/automation/url_request_automation_job.h (revision 35771)
|
| +++ chrome/browser/automation/url_request_automation_job.h (working copy)
|
| @@ -6,6 +6,7 @@
|
| #ifndef CHROME_BROWSER_AUTOMATION_URL_REQUEST_AUTOMATION_JOB_H_
|
| #define CHROME_BROWSER_AUTOMATION_URL_REQUEST_AUTOMATION_JOB_H_
|
|
|
| +#include <vector>
|
| #include "chrome/common/ref_counted_util.h"
|
| #include "net/http/http_response_headers.h"
|
| #include "net/url_request/url_request.h"
|
| @@ -51,6 +52,12 @@
|
| return request_id_;
|
| }
|
|
|
| + // Returns true if the cookie passed in exists in the list of cookies
|
| + // parsed from the HTTP response header.
|
| + static bool IsCookiePresentInCookieHeader(
|
| + const std::string& cookie_name,
|
| + const std::vector<std::string>& header_cookies);
|
| +
|
| protected:
|
| // Protected URLRequestJob override.
|
| virtual bool ReadRawData(net::IOBuffer* buf, int buf_size, int* bytes_read);
|
|
|