Chromium Code Reviews| Index: Source/modules/background_sync/SyncError.h |
| diff --git a/Source/modules/push_messaging/PushError.h b/Source/modules/background_sync/SyncError.h |
| similarity index 59% |
| copy from Source/modules/push_messaging/PushError.h |
| copy to Source/modules/background_sync/SyncError.h |
| index d7f87c3d5d4add04ad63f1aab2b53da0f1ceb027..f4eaa9bca591d2a33b231903f4dbae792a8376ea 100644 |
| --- a/Source/modules/push_messaging/PushError.h |
| +++ b/Source/modules/background_sync/SyncError.h |
| @@ -1,30 +1,30 @@ |
| -// Copyright 2014 The Chromium Authors. All rights reserved. |
| +// Copyright 2015 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| -#ifndef PushError_h |
| -#define PushError_h |
| +#ifndef SyncError_h |
| +#define SyncError_h |
| #include "core/dom/DOMException.h" |
| #include "platform/heap/Handle.h" |
| -#include "public/platform/modules/push_messaging/WebPushError.h" |
| +#include "public/platform/modules/background_sync/WebSyncError.h" |
| namespace blink { |
| class ScriptPromiseResolver; |
| -class PushError { |
| - WTF_MAKE_NONCOPYABLE(PushError); |
| +class SyncError { |
| + WTF_MAKE_NONCOPYABLE(SyncError); |
| public: |
| // For CallbackPromiseAdapter. |
| - typedef WebPushError WebType; |
| + typedef WebSyncError WebType; |
|
jkarlin
2015/02/27 20:08:12
Should now be: using WebType = WebSyncError;
iclelland
2015/03/02 03:51:10
Done.
|
| static PassRefPtrWillBeRawPtr<DOMException> take(ScriptPromiseResolver*, WebType* webErrorRaw); |
|
jkarlin
2015/02/27 20:08:12
Remove parameter name webErrorRaw for blink style
iclelland
2015/03/02 03:51:11
Done.
|
| static void dispose(WebType* webErrorRaw); |
|
jkarlin
2015/02/27 20:08:12
remove webErrorRaw
iclelland
2015/03/02 03:51:10
Done.
|
| private: |
| - PushError() = delete; |
| + SyncError() = delete; |
| }; |
| } // namespace blink |
| -#endif // PushError_h |
| +#endif // SyncError_h |