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

Unified Diff: chrome/common/component_flash_hint_file_linux.h

Issue 1298013002: Address some additional cleanup work needed for the component flash updates on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove useless GetPepperFlashBaseDirectory() wrapper Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/chrome_paths.cc ('k') | chrome/common/component_flash_hint_file_linux.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/component_flash_hint_file_linux.h
diff --git a/chrome/common/component_flash_hint_file_linux.h b/chrome/common/component_flash_hint_file_linux.h
index abe0701ed86383516a4923ec9c5defcee8f1bd18..85694ce42843e1fbf4efccd86a29597b37707a6a 100644
--- a/chrome/common/component_flash_hint_file_linux.h
+++ b/chrome/common/component_flash_hint_file_linux.h
@@ -7,7 +7,9 @@
#include "build/build_config.h"
-#if defined(OS_LINUX)
+#if !defined(OS_LINUX)
+#error "This file only applies to the Linux component update of Flash."
+#endif // !defined(OS_LINUX)
#include <string>
@@ -15,8 +17,6 @@ namespace base {
class FilePath;
}
-namespace chrome {
-
// The APIs in this namespace wraps the component updated flash hint file, which
// lives inside the PepperFlash folder of the user-data-dir, so that the Linux
// zygote process can preload the right version of flash.
@@ -46,7 +46,4 @@ bool TestExecutableMapping(const base::FilePath& path);
} // namespace component_flash_hint_file
-} // namespace chrome
-
-#endif // defined(OS_LINUX)
#endif // CHROME_COMMON_COMPONENT_FLASH_HINT_FILE_LINUX_H_
« no previous file with comments | « chrome/common/chrome_paths.cc ('k') | chrome/common/component_flash_hint_file_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698