| Index: components/webdata_services/webdata_services_export.h
|
| diff --git a/components/webdata_services/webdata_services_export.h b/components/webdata_services/webdata_services_export.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5a098f8d5d7f5b9edb093eb113e5fe0bd840c48b
|
| --- /dev/null
|
| +++ b/components/webdata_services/webdata_services_export.h
|
| @@ -0,0 +1,29 @@
|
| +// Copyright 2014 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 COMPONENTS_WEBDATA_SERVICES_WEBDATA_SERVICES_EXPORT_H_
|
| +#define COMPONENTS_WEBDATA_SERVICES_WEBDATA_SERVICES_EXPORT_H_
|
| +
|
| +#if defined(COMPONENT_BUILD)
|
| +#if defined(WIN32)
|
| +
|
| +#if defined(WEBDATA_SERVICES_IMPLEMENTATION)
|
| +#define WEBDATA_SERVICES_EXPORT __declspec(dllexport)
|
| +#else
|
| +#define WEBDATA_SERVICES_EXPORT __declspec(dllimport)
|
| +#endif // defined(WEBDATA_SERVICES_IMPLEMENTATION)
|
| +
|
| +#else // !defined(WIN32)
|
| +#if defined(WEBDATA_SERVICES_IMPLEMENTATION)
|
| +#define WEBDATA_SERVICES_EXPORT __attribute__((visibility("default")))
|
| +#else
|
| +#define WEBDATA_SERVICES_EXPORT
|
| +#endif
|
| +#endif
|
| +
|
| +#else // defined(COMPONENT_BUILD)
|
| +#define WEBDATA_SERVICES_EXPORT
|
| +#endif
|
| +
|
| +#endif // COMPONENTS_WEBDATA_SERVICES_WEBDATA_SERVICES_EXPORT_H_
|
|
|