OLD | NEW |
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 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
391 return this; | 391 return this; |
392 } | 392 } |
393 | 393 |
394 ChromeAppCacheService* TestingProfile::GetAppCacheService() { | 394 ChromeAppCacheService* TestingProfile::GetAppCacheService() { |
395 return NULL; | 395 return NULL; |
396 } | 396 } |
397 | 397 |
398 webkit_database::DatabaseTracker* TestingProfile::GetDatabaseTracker() { | 398 webkit_database::DatabaseTracker* TestingProfile::GetDatabaseTracker() { |
399 if (!db_tracker_) { | 399 if (!db_tracker_) { |
400 db_tracker_ = new webkit_database::DatabaseTracker( | 400 db_tracker_ = new webkit_database::DatabaseTracker( |
401 GetPath(), false, GetExtensionSpecialStoragePolicy(), NULL, NULL); | 401 GetPath(), false, false, GetExtensionSpecialStoragePolicy(), |
| 402 NULL, NULL); |
402 } | 403 } |
403 return db_tracker_; | 404 return db_tracker_; |
404 } | 405 } |
405 | 406 |
406 VisitedLinkMaster* TestingProfile::GetVisitedLinkMaster() { | 407 VisitedLinkMaster* TestingProfile::GetVisitedLinkMaster() { |
407 return NULL; | 408 return NULL; |
408 } | 409 } |
409 | 410 |
410 ExtensionService* TestingProfile::GetExtensionService() { | 411 ExtensionService* TestingProfile::GetExtensionService() { |
411 return extension_service_.get(); | 412 return extension_service_.get(); |
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
792 } | 793 } |
793 | 794 |
794 DerivedTestingProfile::DerivedTestingProfile(Profile* profile) | 795 DerivedTestingProfile::DerivedTestingProfile(Profile* profile) |
795 : original_profile_(profile) {} | 796 : original_profile_(profile) {} |
796 | 797 |
797 DerivedTestingProfile::~DerivedTestingProfile() {} | 798 DerivedTestingProfile::~DerivedTestingProfile() {} |
798 | 799 |
799 ProfileId DerivedTestingProfile::GetRuntimeId() { | 800 ProfileId DerivedTestingProfile::GetRuntimeId() { |
800 return original_profile_->GetRuntimeId(); | 801 return original_profile_->GetRuntimeId(); |
801 } | 802 } |
OLD | NEW |