| // Copyright 2025 The Chromium Authors |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| #import "ios/chrome/browser/intelligence/proto_wrappers/metrics_constants.h" |
| |
| const char kPageContextLatencyHistogramPrefix[] = "IOS.PageContext"; |
| const char kPageContextLatencyHistogramSuffix[] = ".Latency"; |
| |
| const char kPageContextLatencyHistogramOverallTask[] = ".Overall"; |
| const char kPageContextLatencyHistogramScreenshotTask[] = ".Screenshot"; |
| const char kPageContextLatencyHistogramAPCTask[] = ".AnnotatedPageContent"; |
| const char kPageContextLatencyHistogramPDFTask[] = ".PDF"; |
| const char kPageContextLatencyHistogramInnerTextTask[] = ".InnerText"; |
| |
| const char kPageContextLatencyHistogramSuccessStatus[] = ".Success"; |
| const char kPageContextLatencyHistogramFailureStatus[] = ".Failure"; |
| const char kPageContextLatencyHistogramTimeoutStatus[] = ".Timeout"; |
| const char kPageContextLatencyHistogramPageProtectedStatus[] = ".PageProtected"; |