Chromium Code Reviews| Index: Source/core/platform/chromium/support/WebPrescientNetworking.cpp |
| diff --git a/Source/core/platform/chromium/support/Platform.cpp b/Source/core/platform/chromium/support/WebPrescientNetworking.cpp |
| similarity index 82% |
| copy from Source/core/platform/chromium/support/Platform.cpp |
| copy to Source/core/platform/chromium/support/WebPrescientNetworking.cpp |
| index 29eebd97dacdd199a113d647216ee472901349fc..ab2c22a2eeb1e000b771d8db9f21a79d28aa6fb1 100644 |
| --- a/Source/core/platform/chromium/support/Platform.cpp |
| +++ b/Source/core/platform/chromium/support/WebPrescientNetworking.cpp |
| @@ -1,5 +1,5 @@ |
| /* |
| - * Copyright (C) 2012 Google Inc. All rights reserved. |
| + * Copyright (C) 2013 Google Inc. All rights reserved. |
| * |
| * Redistribution and use in source and binary forms, with or without |
| * modification, are permitted provided that the following conditions are |
| @@ -29,25 +29,25 @@ |
| */ |
| #include "config.h" |
| -#include <public/Platform.h> |
| +#include <public/WebPrescientNetworking.h> |
| namespace WebKit { |
| -static Platform* s_platform = 0; |
| +WebPrescientNetworking* WebPrescientNetworking::s_platform = 0; |
|
abarth-chromium
2013/05/14 06:18:56
There's no need for this file. Please delete it.
kouhei (in TOK)
2013/05/14 06:34:07
Done.
|
| -void Platform::initialize(Platform* platform) |
| +void WebPrescientNetworking::initialize(WebPrescientNetworking* platform) |
| { |
| s_platform = platform; |
| } |
| -void Platform::shutdown() |
| +void WebPrescientNetworking::shutdown() |
| { |
| s_platform = 0; |
| } |
| -Platform* Platform::current() |
| +WebPrescientNetworking* WebPrescientNetworking::current() |
| { |
| return s_platform; |
| } |
| -} // namespace WebKit |
| +} |