Add ICU message format support
[chromium-blink-merge.git] / content / browser / background_sync / background_sync_status.h
blob3faee9983772c43a2513ff306bcd268a0d5d93fc
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_STATUS_H_
6 #define CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_STATUS_H_
8 namespace content {
10 // The status of BackgroundSyncManager actions. These are recorded in histograms
11 // (as BackgroundSyncResult) so don't remove any entries and always append to
12 // the end.
13 enum BackgroundSyncStatus {
14 BACKGROUND_SYNC_STATUS_OK = 0,
15 BACKGROUND_SYNC_STATUS_STORAGE_ERROR,
16 BACKGROUND_SYNC_STATUS_NOT_FOUND,
17 BACKGROUND_SYNC_STATUS_NO_SERVICE_WORKER,
18 BACKGROUND_SYNC_STATUS_NOT_ALLOWED,
19 BACKGROUND_SYNC_STATUS_MAX = BACKGROUND_SYNC_STATUS_NOT_ALLOWED
22 } // namespace content
24 #endif // CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_STATUS_H_