Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(339)

Side by Side Diff: content/common/content_export.h

Issue 7482022: Update content_api to match naming conventions, style in ui_api.h (Closed)
Patch Set: rename content_api.h to content_export.h Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/common/content_api.h ('k') | content/content_common.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CONTENT_COMMON_CONTENT_API_H_
darin (slow to review) 2011/08/16 17:22:27 nit: please fix the include guard
6 #define CONTENT_COMMON_CONTENT_API_H_
7 #pragma once
8
9 // Defines CONTENT_EXPORT so that funtionality implemented by the content module
10 // can be exported to consumers.
darin (slow to review) 2011/08/16 17:22:27 nit: new line after this comment block, or just de
11 #if defined(COMPONENT_BUILD)
12 #if defined(WIN32)
13
14 #if defined(CONTENT_IMPLEMENTATION)
15 #define CONTENT_EXPORT __declspec(dllexport)
16 #else
17 #define CONTENT_EXPORT __declspec(dllimport)
18 #endif // defined(CONTENT_IMPLEMENTATION)
19
20 #else // defined(WIN32)
21 #define CONTENT_EXPORT __attribute__((visibility("default"))
22 #endif
23
24 #else // defined(COMPONENT_BUILD)
25 #define CONTENT_EXPORT
26 #endif
27
28 #endif // CONTENT_COMMON_CONTENT_API_H_
OLDNEW
« no previous file with comments | « content/common/content_api.h ('k') | content/content_common.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698