Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3613)

Unified Diff: chrome/browser/automation/url_request_automation_job.h

Issue 521072: Attempt 2 at landing this.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
« no previous file with comments | « chrome/browser/automation/automation_profile_impl.cc ('k') | chrome/browser/automation/url_request_automation_job.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698