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

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: try to fix win compile error Created 9 years, 7 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 643 matching lines...) Expand 10 before | Expand all | Expand 10 after
654 654
655 SpellCheckHost* TestingProfile::GetSpellCheckHost() { 655 SpellCheckHost* TestingProfile::GetSpellCheckHost() {
656 return NULL; 656 return NULL;
657 } 657 }
658 658
659 WebKitContext* TestingProfile::GetWebKitContext() { 659 WebKitContext* TestingProfile::GetWebKitContext() {
660 if (webkit_context_ == NULL) { 660 if (webkit_context_ == NULL) {
661 webkit_context_ = new WebKitContext( 661 webkit_context_ = new WebKitContext(
662 IsOffTheRecord(), GetPath(), 662 IsOffTheRecord(), GetPath(),
663 GetExtensionSpecialStoragePolicy(), 663 GetExtensionSpecialStoragePolicy(),
664 false); 664 false, NULL, NULL);
665 } 665 }
666 return webkit_context_; 666 return webkit_context_;
667 } 667 }
668 668
669 WebKitContext* TestingProfile::GetOffTheRecordWebKitContext() { 669 WebKitContext* TestingProfile::GetOffTheRecordWebKitContext() {
670 return NULL; 670 return NULL;
671 } 671 }
672 672
673 NTPResourceCache* TestingProfile::GetNTPResourceCache() { 673 NTPResourceCache* TestingProfile::GetNTPResourceCache() {
674 if (!ntp_resource_cache_.get()) 674 if (!ntp_resource_cache_.get())
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
773 } 773 }
774 774
775 DerivedTestingProfile::DerivedTestingProfile(Profile* profile) 775 DerivedTestingProfile::DerivedTestingProfile(Profile* profile)
776 : original_profile_(profile) {} 776 : original_profile_(profile) {}
777 777
778 DerivedTestingProfile::~DerivedTestingProfile() {} 778 DerivedTestingProfile::~DerivedTestingProfile() {}
779 779
780 ProfileId DerivedTestingProfile::GetRuntimeId() { 780 ProfileId DerivedTestingProfile::GetRuntimeId() {
781 return original_profile_->GetRuntimeId(); 781 return original_profile_->GetRuntimeId();
782 } 782 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698