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

Unified Diff: chromeos/memory/chromeos_memory_export.h

Issue 14727005: Moves LowMemoryObserver into chromeos and renames (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: review feedback again Created 7 years, 8 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 | « chromeos/memory/DEPS ('k') | chromeos/memory/low_memory_listener.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/memory/chromeos_memory_export.h
diff --git a/components/sessions/sessions_export.h b/chromeos/memory/chromeos_memory_export.h
similarity index 42%
copy from components/sessions/sessions_export.h
copy to chromeos/memory/chromeos_memory_export.h
index 66ac82270bca30d13eef066610534c539875c57a..5c0e641513409d9082a761b580d90fd2ad429b80 100644
--- a/components/sessions/sessions_export.h
+++ b/chromeos/memory/chromeos_memory_export.h
@@ -2,28 +2,28 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef COMPONENTS_SESSIONS_SESSIONS_EXPORT_H_
-#define COMPONENTS_SESSIONS_SESSIONS_EXPORT_H_
+#ifndef CHROMEOS_MEMORY_CHROMEOS_MEMORY_EXPORT_H_
+#define CHROMEOS_MEMORY_CHROMEOS_MEMORY_EXPORT_H_
#if defined(COMPONENT_BUILD)
#if defined(WIN32)
-#if defined(SESSIONS_IMPLEMENTATION)
-#define SESSIONS_EXPORT __declspec(dllexport)
+#if defined(CHROMEOS_MEMORY_IMPLEMENTATION)
+#define CHROMEOS_MEMORY_EXPORT __declspec(dllexport)
#else
-#define SESSIONS_EXPORT __declspec(dllimport)
+#define CHROMEOS_MEMORY_EXPORT __declspec(dllimport)
#endif // defined(BASE_PREFS_IMPLEMENTATION)
#else // defined(WIN32)
-#if defined(SESSIONS_IMPLEMENTATION)
-#define SESSIONS_EXPORT __attribute__((visibility("default")))
+#if defined(CHROMEOS_MEMORY_IMPLEMENTATION)
+#define CHROMEOS_MEMORY_EXPORT __attribute__((visibility("default")))
#else
-#define SESSIONS_EXPORT
+#define CHROMEOS_MEMORY_EXPORT
#endif
#endif
#else // defined(COMPONENT_BUILD)
-#define SESSIONS_EXPORT
+#define CHROMEOS_MEMORY_EXPORT
#endif
-#endif // COMPONENTS_SESSIONS_SESSIONS_EXPORT_H_
+#endif // CHROMEOS_MEMORY_CHROMEOS_MEMORY_EXPORT_H_
« no previous file with comments | « chromeos/memory/DEPS ('k') | chromeos/memory/low_memory_listener.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698