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

Side by Side Diff: chrome/browser/automation/automation_profile_impl.h

Issue 197023: This CL changes the CookieStore obect to be a refcounted object to get a bett... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2009 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_ 5 #ifndef CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_
6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_ 6 #define CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_
7 7
8 #include "chrome/browser/profile.h" 8 #include "chrome/browser/profile.h"
9 #include "net/url_request/url_request_context.h" 9 #include "net/url_request/url_request_context.h"
10 10
(...skipping 184 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 } 195 }
196 virtual void InitExtensions() { 196 virtual void InitExtensions() {
197 return original_profile_->InitExtensions(); 197 return original_profile_->InitExtensions();
198 } 198 }
199 virtual void InitWebResources() { 199 virtual void InitWebResources() {
200 return original_profile_->InitWebResources(); 200 return original_profile_->InitWebResources();
201 } 201 }
202 202
203 protected: 203 protected:
204 Profile* original_profile_; 204 Profile* original_profile_;
205 scoped_ptr<net::CookieStore> alternate_cookie_store_; 205 scoped_refptr<net::CookieStore> alternate_cookie_store_;
206 scoped_refptr<URLRequestContext> alternate_reqeust_context_; 206 scoped_refptr<URLRequestContext> alternate_reqeust_context_;
207 int tab_handle_; 207 int tab_handle_;
208 208
209 private: 209 private:
210 DISALLOW_COPY_AND_ASSIGN(AutomationProfileImpl); 210 DISALLOW_COPY_AND_ASSIGN(AutomationProfileImpl);
211 }; 211 };
212 212
213 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_ 213 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/automation_profile_impl.cc » ('j') | net/base/cookie_monster.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698