OLD | NEW |
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 #include "chrome/common/chrome_content_client.h" | 5 #include "chrome/common/chrome_content_client.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/cpu.h" | 8 #include "base/cpu.h" |
9 #include "base/debug/crash_logging.h" | 9 #include "base/debug/crash_logging.h" |
10 #include "base/file_util.h" | 10 #include "base/file_util.h" |
(...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
431 savable_schemes->push_back(extensions::kExtensionScheme); | 431 savable_schemes->push_back(extensions::kExtensionScheme); |
432 standard_schemes->push_back(kExtensionResourceScheme); | 432 standard_schemes->push_back(kExtensionResourceScheme); |
433 savable_schemes->push_back(kExtensionResourceScheme); | 433 savable_schemes->push_back(kExtensionResourceScheme); |
434 standard_schemes->push_back(chrome::kChromeSearchScheme); | 434 standard_schemes->push_back(chrome::kChromeSearchScheme); |
435 savable_schemes->push_back(chrome::kChromeSearchScheme); | 435 savable_schemes->push_back(chrome::kChromeSearchScheme); |
436 #if defined(OS_CHROMEOS) | 436 #if defined(OS_CHROMEOS) |
437 standard_schemes->push_back(kCrosScheme); | 437 standard_schemes->push_back(kCrosScheme); |
438 #endif | 438 #endif |
439 } | 439 } |
440 | 440 |
| 441 void ChromeContentClient::AddKeySystems( |
| 442 std::vector<content::KeySystemInfo>* key_systems) { |
| 443 // TODO(ddorwin): In the next CL, move code from |
| 444 // content/renderer/media/crypto/key_systems_info.cc to chrome_key_systems.cc |
| 445 // and call AddKeySystems. |
| 446 } |
| 447 |
441 bool ChromeContentClient::CanHandleWhileSwappedOut( | 448 bool ChromeContentClient::CanHandleWhileSwappedOut( |
442 const IPC::Message& msg) { | 449 const IPC::Message& msg) { |
443 // Any Chrome-specific messages (apart from those listed in | 450 // Any Chrome-specific messages (apart from those listed in |
444 // CanSendWhileSwappedOut) that must be handled by the browser when sent from | 451 // CanSendWhileSwappedOut) that must be handled by the browser when sent from |
445 // swapped out renderers. | 452 // swapped out renderers. |
446 return false; | 453 return false; |
447 } | 454 } |
448 | 455 |
449 std::string ChromeContentClient::GetProduct() const { | 456 std::string ChromeContentClient::GetProduct() const { |
450 chrome::VersionInfo version_info; | 457 chrome::VersionInfo version_info; |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
505 } | 512 } |
506 return false; | 513 return false; |
507 } | 514 } |
508 | 515 |
509 std::string ChromeContentClient::GetCarbonInterposePath() const { | 516 std::string ChromeContentClient::GetCarbonInterposePath() const { |
510 return std::string(kInterposeLibraryPath); | 517 return std::string(kInterposeLibraryPath); |
511 } | 518 } |
512 #endif | 519 #endif |
513 | 520 |
514 } // namespace chrome | 521 } // namespace chrome |
OLD | NEW |