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

Side by Side Diff: content/public/common/injection_test_win.h

Issue 942963003: Cleanup: Fix content header include guards. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: REBASE Created 5 years, 9 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/public/common/geoposition.h ('k') | content/public/common/manifest.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_COMMON_INJECTION_TEST_WIN_H_ 5 #ifndef CONTENT_PUBLIC_COMMON_INJECTION_TEST_WIN_H_
6 #define CONTENT_COMMON_INJECTION_TEST_WIN_H_ 6 #define CONTENT_PUBLIC_COMMON_INJECTION_TEST_WIN_H_
7 7
8 // This file defines the entry points for any DLL that can be loaded into the 8 // This file defines the entry points for any DLL that can be loaded into the
9 // renderer or plugin process for the purposes of testing. The DLL code must 9 // renderer or plugin process for the purposes of testing. The DLL code must
10 // define TEST_INJECTION_DLL so the entry point definitions cause the linker 10 // define TEST_INJECTION_DLL so the entry point definitions cause the linker
11 // to generate exported functions. 11 // to generate exported functions.
12 12
13 const char kRenderTestCall[] = "RunRendererTests"; 13 const char kRenderTestCall[] = "RunRendererTests";
14 const char kPluginTestCall[] = "RunPluginTests"; 14 const char kPluginTestCall[] = "RunPluginTests";
15 15
16 extern "C" { 16 extern "C" {
17 #ifdef TEST_INJECTION_DLL 17 #ifdef TEST_INJECTION_DLL
18 BOOL extern __declspec(dllexport) __cdecl RunRendererTests(int* test_count); 18 BOOL extern __declspec(dllexport) __cdecl RunRendererTests(int* test_count);
19 BOOL extern __declspec(dllexport) __cdecl RunPluginTests(int* test_count); 19 BOOL extern __declspec(dllexport) __cdecl RunPluginTests(int* test_count);
20 #else 20 #else
21 typedef BOOL (__cdecl *RunRendererTests)(int* test_count); 21 typedef BOOL (__cdecl *RunRendererTests)(int* test_count);
22 typedef BOOL (__cdecl *RunPluginTests)(int* test_count); 22 typedef BOOL (__cdecl *RunPluginTests)(int* test_count);
23 #endif 23 #endif
24 } 24 }
25 25
26 #endif // CONTENT_COMMON_INJECTION_TEST_WIN_H_ 26 #endif // CONTENT_PUBLIC_COMMON_INJECTION_TEST_WIN_H_
OLDNEW
« no previous file with comments | « content/public/common/geoposition.h ('k') | content/public/common/manifest.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698