Chromium Code Reviews| Index: Source/platform/exported/WebPresentationAvailabilityObserver.cpp |
| diff --git a/Source/platform/exported/WebPresentationAvailabilityObserver.cpp b/Source/platform/exported/WebPresentationAvailabilityObserver.cpp |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..eb98ae96246fb539e652cd398478328799ea57d8 |
| --- /dev/null |
| +++ b/Source/platform/exported/WebPresentationAvailabilityObserver.cpp |
| @@ -0,0 +1,12 @@ |
| +// 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. |
| + |
| +#include "config.h" |
| +#include "public/platform/modules/presentation/WebPresentationAvailabilityObserver.h" |
| + |
| +// This WebPresentationAvailabilityObserver.cpp, which includes only config.h |
| +// and WebPresentationAvailabilityObserver.h, should be in |
| +// Source/platform/exported, because WebPresentationAvailabilityObserver is not |
| +// compiled without this cpp. So if we don't have this cpp, we will see |
| +// unresolved symbol error when constructor/destructor's address is required. |
|
mark a. foltz
2015/09/08 20:01:12
I didn't quite follow this comment or the problem
mlamouri (slow - plz ping)
2015/09/08 21:53:59
This is coming from WebPresentationController.cpp
|