OLD | NEW |
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 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 } | 161 } |
162 virtual void SetID(const std::wstring& id) { | 162 virtual void SetID(const std::wstring& id) { |
163 return original_profile_->SetID(id); | 163 return original_profile_->SetID(id); |
164 } | 164 } |
165 virtual bool DidLastSessionExitCleanly() { | 165 virtual bool DidLastSessionExitCleanly() { |
166 return original_profile_->DidLastSessionExitCleanly(); | 166 return original_profile_->DidLastSessionExitCleanly(); |
167 } | 167 } |
168 virtual BookmarkModel* GetBookmarkModel() { | 168 virtual BookmarkModel* GetBookmarkModel() { |
169 return original_profile_->GetBookmarkModel(); | 169 return original_profile_->GetBookmarkModel(); |
170 } | 170 } |
| 171 virtual DesktopNotificationService* GetDesktopNotificationService() { |
| 172 return original_profile_->GetDesktopNotificationService(); |
| 173 } |
171 | 174 |
172 #ifdef CHROME_PERSONALIZATION | 175 #ifdef CHROME_PERSONALIZATION |
173 virtual ProfileSyncService* GetProfileSyncService() { | 176 virtual ProfileSyncService* GetProfileSyncService() { |
174 return original_profile_->GetProfileSyncService(); | 177 return original_profile_->GetProfileSyncService(); |
175 } | 178 } |
176 #endif | 179 #endif |
177 | 180 |
178 virtual bool IsSameProfile(Profile* profile) { | 181 virtual bool IsSameProfile(Profile* profile) { |
179 return original_profile_->IsSameProfile(profile); | 182 return original_profile_->IsSameProfile(profile); |
180 } | 183 } |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
213 Profile* original_profile_; | 216 Profile* original_profile_; |
214 scoped_refptr<net::CookieStore> alternate_cookie_store_; | 217 scoped_refptr<net::CookieStore> alternate_cookie_store_; |
215 scoped_refptr<URLRequestContext> alternate_reqeust_context_; | 218 scoped_refptr<URLRequestContext> alternate_reqeust_context_; |
216 int tab_handle_; | 219 int tab_handle_; |
217 | 220 |
218 private: | 221 private: |
219 DISALLOW_COPY_AND_ASSIGN(AutomationProfileImpl); | 222 DISALLOW_COPY_AND_ASSIGN(AutomationProfileImpl); |
220 }; | 223 }; |
221 | 224 |
222 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_ | 225 #endif // CHROME_BROWSER_AUTOMATION_AUTOMATION_PROFILE_IMPL_H_ |
OLD | NEW |