Refactor analytics constants using part files - 1 (#6474)

diff --git a/packages/devtools_app/lib/src/shared/analytics/constants.dart b/packages/devtools_app/lib/src/shared/analytics/constants.dart
index 64be454..0ef36f3 100644
--- a/packages/devtools_app/lib/src/shared/analytics/constants.dart
+++ b/packages/devtools_app/lib/src/shared/analytics/constants.dart
@@ -4,6 +4,7 @@
 
 import '../screen.dart';
 
+part 'constants/_cpu_profiler_constants.dart';
 part 'constants/_extension_constants.dart';
 
 // Type of events (event_category):
@@ -119,19 +120,6 @@
   impellerWikiLink,
 }
 
-enum CpuProfilerEvents {
-  profileGranularity,
-  loadAllCpuSamples,
-  profileAppStartUp,
-  cpuProfileFlameChartHelp,
-  cpuProfileProcessingTime,
-  cpuProfileDisplayTreeGuidelines,
-}
-
-enum CpuProfilerDocs {
-  profileGranularityDocs,
-}
-
 // Debugger UX actions:
 const refreshStatistics = 'refreshStatistics';
 const showFileExplorer = 'showFileExplorer';
diff --git a/packages/devtools_app/lib/src/shared/analytics/constants/_cpu_profiler_constants.dart b/packages/devtools_app/lib/src/shared/analytics/constants/_cpu_profiler_constants.dart
new file mode 100644
index 0000000..4784183
--- /dev/null
+++ b/packages/devtools_app/lib/src/shared/analytics/constants/_cpu_profiler_constants.dart
@@ -0,0 +1,18 @@
+// Copyright 2023 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+part of '../constants.dart';
+
+enum CpuProfilerEvents {
+  profileGranularity,
+  loadAllCpuSamples,
+  profileAppStartUp,
+  cpuProfileFlameChartHelp,
+  cpuProfileProcessingTime,
+  cpuProfileDisplayTreeGuidelines,
+}
+
+enum CpuProfilerDocs {
+  profileGranularityDocs,
+}