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

Side by Side Diff: content/common/content_api.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 | « no previous file | content/common/content_export.h » ('j') | content/common/content_export.h » ('J')
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_
6 #define CONTENT_COMMON_CONTENT_API_H_
7 #pragma once
8
9 // Defines CONTENT_API so that funtionality implemented by the content module
10 // can be exported to consumers, and CONTENT_TEST that allows unit tests to
11 // access features not intended to be used directly by real consumers.
12 #if defined(WIN32) && defined(CONTENT_DLL)
13 #if defined(CONTENT_IMPLEMENTATION)
14 #define CONTENT_API __declspec(dllexport)
15 #define CONTENT_TEST __declspec(dllexport)
16 #else
17 #define CONTENT_API __declspec(dllimport)
18 #define CONTENT_TEST __declspec(dllimport)
19 #endif // defined(CONTENT_IMPLEMENTATION)
20 #else
21 #define CONTENT_API
22 #define CONTENT_TEST
23 #endif
24
25 #endif // CONTENT_COMMON_CONTENT_API_H_
OLDNEW
« no previous file with comments | « no previous file | content/common/content_export.h » ('j') | content/common/content_export.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698