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

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

Issue 525513003: Cleanup: Put more plugin code behind the ENABLE_PLUGINS ifdef. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 6 years, 3 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/BUILD.gn ('k') | content/common/pepper_plugin_list.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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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_PEPPER_FILE_UTIL_H_ 5 #ifndef CONTENT_COMMON_PEPPER_FILE_UTIL_H_
6 #define CONTENT_COMMON_PEPPER_FILE_UTIL_H_ 6 #define CONTENT_COMMON_PEPPER_FILE_UTIL_H_
7 7
8 #include "ppapi/c/pp_file_info.h" 8 #include "ppapi/c/pp_file_info.h"
9 #include "webkit/common/fileapi/file_system_types.h" 9 #include "webkit/common/fileapi/file_system_types.h"
10 10
11 #if !defined(ENABLE_PLUGINS)
12 #error "Plugins should be enabled"
13 #endif
14
11 namespace content { 15 namespace content {
12 16
13 storage::FileSystemType PepperFileSystemTypeToFileSystemType( 17 storage::FileSystemType PepperFileSystemTypeToFileSystemType(
14 PP_FileSystemType type); 18 PP_FileSystemType type);
15 19
16 } // namespace content 20 } // namespace content
17 21
18 #endif // CONTENT_COMMON_PEPPER_FILE_UTIL_H_ 22 #endif // CONTENT_COMMON_PEPPER_FILE_UTIL_H_
OLDNEW
« no previous file with comments | « content/common/BUILD.gn ('k') | content/common/pepper_plugin_list.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698