| Index: chrome_frame/chrome_frame_activex_base.h
|
| ===================================================================
|
| --- chrome_frame/chrome_frame_activex_base.h (revision 35770)
|
| +++ chrome_frame/chrome_frame_activex_base.h (working copy)
|
| @@ -42,7 +42,6 @@
|
| #include "chrome_frame/com_type_info_holder.h"
|
| #include "chrome_frame/urlmon_url_request.h"
|
| #include "grit/generated_resources.h"
|
| -#include "net/base/cookie_monster.h"
|
|
|
| // Include without path to make GYP build see it.
|
| #include "chrome_tab.h" // NOLINT
|
| @@ -524,17 +523,10 @@
|
| const std::string& cookie) {
|
| std::string name;
|
| std::string data;
|
| -
|
| size_t name_end = cookie.find('=');
|
| if (std::string::npos != name_end) {
|
| - net::CookieMonster::ParsedCookie parsed_cookie = cookie;
|
| - name = parsed_cookie.Name();
|
| - // Verify if the cookie is being deleted. The cookie format is as below
|
| - // value[; expires=date][; domain=domain][; path=path][; secure]
|
| - // If the first semicolon appears immediately after the name= string,
|
| - // it means that the cookie is being deleted.
|
| - if (!parsed_cookie.Value().empty())
|
| - data = cookie.substr(name_end + 1);
|
| + name = cookie.substr(0, name_end);
|
| + data = cookie.substr(name_end + 1);
|
| } else {
|
| data = cookie;
|
| }
|
|
|