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 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
422 } | 422 } |
423 | 423 |
424 ExtensionMessageService* TestingProfile::GetExtensionMessageService() { | 424 ExtensionMessageService* TestingProfile::GetExtensionMessageService() { |
425 return NULL; | 425 return NULL; |
426 } | 426 } |
427 | 427 |
428 ExtensionEventRouter* TestingProfile::GetExtensionEventRouter() { | 428 ExtensionEventRouter* TestingProfile::GetExtensionEventRouter() { |
429 return NULL; | 429 return NULL; |
430 } | 430 } |
431 | 431 |
432 ExtensionIOEventRouter* TestingProfile::GetExtensionIOEventRouter() { | |
433 return NULL; | |
434 } | |
435 | |
436 SSLHostState* TestingProfile::GetSSLHostState() { | 432 SSLHostState* TestingProfile::GetSSLHostState() { |
437 return NULL; | 433 return NULL; |
438 } | 434 } |
439 | 435 |
440 net::TransportSecurityState* TestingProfile::GetTransportSecurityState() { | 436 net::TransportSecurityState* TestingProfile::GetTransportSecurityState() { |
441 return NULL; | 437 return NULL; |
442 } | 438 } |
443 | 439 |
444 FaviconService* TestingProfile::GetFaviconService(ServiceAccessType access) { | 440 FaviconService* TestingProfile::GetFaviconService(ServiceAccessType access) { |
445 return favicon_service_.get(); | 441 return favicon_service_.get(); |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
796 } | 792 } |
797 | 793 |
798 DerivedTestingProfile::DerivedTestingProfile(Profile* profile) | 794 DerivedTestingProfile::DerivedTestingProfile(Profile* profile) |
799 : original_profile_(profile) {} | 795 : original_profile_(profile) {} |
800 | 796 |
801 DerivedTestingProfile::~DerivedTestingProfile() {} | 797 DerivedTestingProfile::~DerivedTestingProfile() {} |
802 | 798 |
803 ProfileId DerivedTestingProfile::GetRuntimeId() { | 799 ProfileId DerivedTestingProfile::GetRuntimeId() { |
804 return original_profile_->GetRuntimeId(); | 800 return original_profile_->GetRuntimeId(); |
805 } | 801 } |
OLD | NEW |