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

Side by Side Diff: chrome/test/testing_profile.cc

Issue 7053030: Initial IndexedDBQuotaClient implementation (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: custom struct for refptr to use on Destruct Created 9 years, 6 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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #include "chrome/test/testing_profile.h" 5 #include "chrome/test/testing_profile.h"
6 6
7 #include "build/build_config.h" 7 #include "build/build_config.h"
8 8
9 #include "base/base_paths.h" 9 #include "base/base_paths.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 673
674 SpellCheckHost* TestingProfile::GetSpellCheckHost() { 674 SpellCheckHost* TestingProfile::GetSpellCheckHost() {
675 return NULL; 675 return NULL;
676 } 676 }
677 677
678 WebKitContext* TestingProfile::GetWebKitContext() { 678 WebKitContext* TestingProfile::GetWebKitContext() {
679 if (webkit_context_ == NULL) { 679 if (webkit_context_ == NULL) {
680 webkit_context_ = new WebKitContext( 680 webkit_context_ = new WebKitContext(
681 IsOffTheRecord(), GetPath(), 681 IsOffTheRecord(), GetPath(),
682 GetExtensionSpecialStoragePolicy(), 682 GetExtensionSpecialStoragePolicy(),
683 false); 683 false, NULL, NULL);
684 } 684 }
685 return webkit_context_; 685 return webkit_context_;
686 } 686 }
687 687
688 WebKitContext* TestingProfile::GetOffTheRecordWebKitContext() { 688 WebKitContext* TestingProfile::GetOffTheRecordWebKitContext() {
689 return NULL; 689 return NULL;
690 } 690 }
691 691
692 NTPResourceCache* TestingProfile::GetNTPResourceCache() { 692 NTPResourceCache* TestingProfile::GetNTPResourceCache() {
693 if (!ntp_resource_cache_.get()) 693 if (!ntp_resource_cache_.get())
(...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
794 } 794 }
795 795
796 DerivedTestingProfile::DerivedTestingProfile(Profile* profile) 796 DerivedTestingProfile::DerivedTestingProfile(Profile* profile)
797 : original_profile_(profile) {} 797 : original_profile_(profile) {}
798 798
799 DerivedTestingProfile::~DerivedTestingProfile() {} 799 DerivedTestingProfile::~DerivedTestingProfile() {}
800 800
801 ProfileId DerivedTestingProfile::GetRuntimeId() { 801 ProfileId DerivedTestingProfile::GetRuntimeId() {
802 return original_profile_->GetRuntimeId(); 802 return original_profile_->GetRuntimeId();
803 } 803 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698