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

Side by Side Diff: chrome/test/base/testing_profile.h

Issue 9232011: sync: Make ProfileSyncService a ProfileKeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/test/base/testing_profile.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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_TEST_BASE_TESTING_PROFILE_H_ 5 #ifndef CHROME_TEST_BASE_TESTING_PROFILE_H_
6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_ 6 #define CHROME_TEST_BASE_TESTING_PROFILE_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 10
11 #include "base/memory/ref_counted.h" 11 #include "base/memory/ref_counted.h"
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 virtual const content::ResourceContext& GetResourceContext() OVERRIDE; 227 virtual const content::ResourceContext& GetResourceContext() OVERRIDE;
228 228
229 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE; 229 virtual net::SSLConfigService* GetSSLConfigService() OVERRIDE;
230 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() OVERRIDE; 230 virtual UserStyleSheetWatcher* GetUserStyleSheetWatcher() OVERRIDE;
231 virtual FindBarState* GetFindBarState() OVERRIDE; 231 virtual FindBarState* GetFindBarState() OVERRIDE;
232 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE; 232 virtual HostContentSettingsMap* GetHostContentSettingsMap() OVERRIDE;
233 virtual GeolocationPermissionContext* 233 virtual GeolocationPermissionContext*
234 GetGeolocationPermissionContext() OVERRIDE; 234 GetGeolocationPermissionContext() OVERRIDE;
235 virtual SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE; 235 virtual SpeechInputPreferences* GetSpeechInputPreferences() OVERRIDE;
236 virtual HostZoomMap* GetHostZoomMap() OVERRIDE; 236 virtual HostZoomMap* GetHostZoomMap() OVERRIDE;
237 virtual bool HasProfileSyncService() const OVERRIDE; 237 virtual bool HasProfileSyncService() OVERRIDE;
238 virtual std::wstring GetName(); 238 virtual std::wstring GetName();
239 virtual void SetName(const std::wstring& name) {} 239 virtual void SetName(const std::wstring& name) {}
240 virtual std::wstring GetID(); 240 virtual std::wstring GetID();
241 virtual void SetID(const std::wstring& id); 241 virtual void SetID(const std::wstring& id);
242 void set_last_session_exited_cleanly(bool value) { 242 void set_last_session_exited_cleanly(bool value) {
243 last_session_exited_cleanly_ = value; 243 last_session_exited_cleanly_ = value;
244 } 244 }
245 virtual bool DidLastSessionExitCleanly() OVERRIDE; 245 virtual bool DidLastSessionExitCleanly() OVERRIDE;
246 virtual void MergeResourceString(int message_id, 246 virtual void MergeResourceString(int message_id,
247 std::wstring* output_string) {} 247 std::wstring* output_string) {}
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 scoped_refptr<ChromeAppCacheService> appcache_service_; 420 scoped_refptr<ChromeAppCacheService> appcache_service_;
421 421
422 // The QuotaManager, only available if set explicitly via SetQuotaManager. 422 // The QuotaManager, only available if set explicitly via SetQuotaManager.
423 scoped_refptr<quota::QuotaManager> quota_manager_; 423 scoped_refptr<quota::QuotaManager> quota_manager_;
424 424
425 // Weak pointer to a delegate for indicating that a profile was created. 425 // Weak pointer to a delegate for indicating that a profile was created.
426 Delegate* delegate_; 426 Delegate* delegate_;
427 }; 427 };
428 428
429 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 429 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | chrome/test/base/testing_profile.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698