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

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

Issue 9289007: Profiles: Move the Spelling system onto a ProfileKeyedServiceFactory. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Remove stray mark 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
OLDNEW
1 // Copyright (c) 2012 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
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
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) {}
248 virtual void MergeResourceInteger(int message_id, int* output_value) {} 248 virtual void MergeResourceInteger(int message_id, int* output_value) {}
249 virtual void MergeResourceBoolean(int message_id, bool* output_value) {} 249 virtual void MergeResourceBoolean(int message_id, bool* output_value) {}
250 virtual BookmarkModel* GetBookmarkModel() OVERRIDE; 250 virtual BookmarkModel* GetBookmarkModel() OVERRIDE;
251 virtual bool IsSameProfile(Profile *p) OVERRIDE; 251 virtual bool IsSameProfile(Profile *p) OVERRIDE;
252 virtual base::Time GetStartTime() const OVERRIDE; 252 virtual base::Time GetStartTime() const OVERRIDE;
253 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE; 253 virtual ProtocolHandlerRegistry* GetProtocolHandlerRegistry() OVERRIDE;
254 virtual SpellCheckHost* GetSpellCheckHost() OVERRIDE;
255 virtual void ReinitializeSpellCheckHost(bool force) OVERRIDE { }
256 virtual WebKitContext* GetWebKitContext() OVERRIDE; 254 virtual WebKitContext* GetWebKitContext() OVERRIDE;
257 virtual WebKitContext* GetOffTheRecordWebKitContext(); 255 virtual WebKitContext* GetOffTheRecordWebKitContext();
258 virtual void MarkAsCleanShutdown() OVERRIDE {} 256 virtual void MarkAsCleanShutdown() OVERRIDE {}
259 virtual void InitExtensions(bool extensions_enabled) OVERRIDE {} 257 virtual void InitExtensions(bool extensions_enabled) OVERRIDE {}
260 virtual void InitPromoResources() OVERRIDE {} 258 virtual void InitPromoResources() OVERRIDE {}
261 virtual void InitRegisteredProtocolHandlers() OVERRIDE {} 259 virtual void InitRegisteredProtocolHandlers() OVERRIDE {}
262 260
263 virtual FilePath last_selected_directory() OVERRIDE; 261 virtual FilePath last_selected_directory() OVERRIDE;
264 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE; 262 virtual void set_last_selected_directory(const FilePath& path) OVERRIDE;
265 #if defined(OS_CHROMEOS) 263 #if defined(OS_CHROMEOS)
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
420 scoped_refptr<ChromeAppCacheService> appcache_service_; 418 scoped_refptr<ChromeAppCacheService> appcache_service_;
421 419
422 // The QuotaManager, only available if set explicitly via SetQuotaManager. 420 // The QuotaManager, only available if set explicitly via SetQuotaManager.
423 scoped_refptr<quota::QuotaManager> quota_manager_; 421 scoped_refptr<quota::QuotaManager> quota_manager_;
424 422
425 // Weak pointer to a delegate for indicating that a profile was created. 423 // Weak pointer to a delegate for indicating that a profile was created.
426 Delegate* delegate_; 424 Delegate* delegate_;
427 }; 425 };
428 426
429 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_ 427 #endif // CHROME_TEST_BASE_TESTING_PROFILE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698