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

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

Issue 255087: Adding a unique runtime Id to Profile objects, that can be used as the key... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 2 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
« no previous file with comments | « no previous file | chrome/browser/automation/automation_resource_message_filter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 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 12 matching lines...) Expand all
23 IPC::Message::Sender* automation_client); 23 IPC::Message::Sender* automation_client);
24 24
25 void set_tab_handle(int tab_handle) { 25 void set_tab_handle(int tab_handle) {
26 tab_handle_ = tab_handle; 26 tab_handle_ = tab_handle;
27 } 27 }
28 int tab_handle() const { 28 int tab_handle() const {
29 return tab_handle_; 29 return tab_handle_;
30 } 30 }
31 31
32 // Profile implementation. 32 // Profile implementation.
33 virtual ProfileId GetRuntimeId() {
34 return original_profile_->GetRuntimeId();
35 }
33 virtual FilePath GetPath() { 36 virtual FilePath GetPath() {
34 return original_profile_->GetPath(); 37 return original_profile_->GetPath();
35 } 38 }
36 virtual bool IsOffTheRecord() { 39 virtual bool IsOffTheRecord() {
37 return original_profile_->IsOffTheRecord(); 40 return original_profile_->IsOffTheRecord();
38 } 41 }
39 virtual Profile* GetOffTheRecordProfile() { 42 virtual Profile* GetOffTheRecordProfile() {
40 return original_profile_->GetOffTheRecordProfile(); 43 return original_profile_->GetOffTheRecordProfile();
41 } 44 }
42 virtual void DestroyOffTheRecordProfile() { 45 virtual void DestroyOffTheRecordProfile() {
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 Profile* original_profile_; 210 Profile* original_profile_;
208 scoped_refptr<net::CookieStore> alternate_cookie_store_; 211 scoped_refptr<net::CookieStore> alternate_cookie_store_;
209 scoped_refptr<URLRequestContext> alternate_reqeust_context_; 212 scoped_refptr<URLRequestContext> alternate_reqeust_context_;
210 int tab_handle_; 213 int tab_handle_;
211 214
212 private: 215 private:
213 DISALLOW_COPY_AND_ASSIGN(AutomationProfileImpl); 216 DISALLOW_COPY_AND_ASSIGN(AutomationProfileImpl);
214 }; 217 };
215 218
216 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_ 219 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/automation/automation_resource_message_filter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698