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

Unified Diff: services/resource_coordinator/public/cpp/memory/memory_instrumentation_struct_traits.h

Issue 2693063002: Renamed /services/memory_infrastructure to /services/resource_coordinator (Closed)
Patch Set: Review fix Created 3 years, 10 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
Index: services/resource_coordinator/public/cpp/memory/memory_instrumentation_struct_traits.h
diff --git a/services/memory_instrumentation/public/cpp/memory_instrumentation_traits.h b/services/resource_coordinator/public/cpp/memory/memory_instrumentation_struct_traits.h
similarity index 80%
rename from services/memory_instrumentation/public/cpp/memory_instrumentation_traits.h
rename to services/resource_coordinator/public/cpp/memory/memory_instrumentation_struct_traits.h
index 29b219fb49b58da8411f35632250d4971d163450..c3b2761148f0a4f8f164311e084218ad44f9071c 100644
--- a/services/memory_instrumentation/public/cpp/memory_instrumentation_traits.h
+++ b/services/resource_coordinator/public/cpp/memory/memory_instrumentation_struct_traits.h
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef SERVICES_MEMORY_INFRA_PUBLIC_CPP_MEMORY_INFRA_TRAITS_H_
-#define SERVICES_MEMORY_INFRA_PUBLIC_CPP_MEMORY_INFRA_TRAITS_H_
+#ifndef SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_MEMORY_MEMORY_INSTRUMENTATION_STRUCT_TRAITS_H_
+#define SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_MEMORY_MEMORY_INSTRUMENTATION_STRUCT_TRAITS_H_
#include "base/trace_event/memory_dump_request_args.h"
-#include "services/memory_instrumentation/public/interfaces/memory_instrumentation.mojom.h"
+#include "services/resource_coordinator/public/interfaces/memory/memory_instrumentation.mojom.h"
namespace mojo {
-template<>
+template <>
struct EnumTraits<memory_instrumentation::mojom::DumpType,
base::trace_event::MemoryDumpType> {
static memory_instrumentation::mojom::DumpType ToMojom(
@@ -19,7 +19,7 @@ struct EnumTraits<memory_instrumentation::mojom::DumpType,
base::trace_event::MemoryDumpType* out);
};
-template<>
+template <>
struct EnumTraits<memory_instrumentation::mojom::LevelOfDetail,
base::trace_event::MemoryDumpLevelOfDetail> {
static memory_instrumentation::mojom::LevelOfDetail ToMojom(
@@ -28,7 +28,7 @@ struct EnumTraits<memory_instrumentation::mojom::LevelOfDetail,
base::trace_event::MemoryDumpLevelOfDetail* out);
};
-template<>
+template <>
struct StructTraits<memory_instrumentation::mojom::RequestArgsDataView,
base::trace_event::MemoryDumpRequestArgs> {
static uint64_t dump_guid(
@@ -49,4 +49,4 @@ struct StructTraits<memory_instrumentation::mojom::RequestArgsDataView,
} // namespace mojo
-#endif // SERVICES_MEMORY_INFRA_PUBLIC_CPP_MEMORY_INFRA_TRAITS_H_
+#endif // SERVICES_RESOURCE_COORDINATOR_PUBLIC_CPP_MEMORY_MEMORY_INSTRUMENTATION_STRUCT_TRAITS_H_

Powered by Google App Engine
This is Rietveld 408576698