diff options
author | jkarlin <jkarlin@chromium.org> | 2015-08-04 11:23:15 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-08-04 18:25:26 +0000 |
commit | eaef2ceb6802293a68bc8aef010bdf3ecb8ef7a0 (patch) | |
tree | ef1023bcf50d1b6f27cf391d0e820a20fb151b6c /content/browser/background_sync/background_sync_status.h | |
parent | 9da8b8341f77e4d6faa9e494e4aaf92aad051fba (diff) | |
download | chromium_src-eaef2ceb6802293a68bc8aef010bdf3ecb8ef7a0.zip chromium_src-eaef2ceb6802293a68bc8aef010bdf3ecb8ef7a0.tar.gz chromium_src-eaef2ceb6802293a68bc8aef010bdf3ecb8ef7a0.tar.bz2 |
Revert of Move BackgroundSyncManager::ErrorType to BackgroundSyncStatus (patchset #5 id:80001 of https://codereview.chromium.org/1246483002/ )
Reason for revert:
Broken compilation, need to rebase again.
Original issue's description:
> Move BackgroundSyncManager::ErrorType to BackgroundSyncStatus
>
> This needs to be in its own file to prevent dependency loop issues. And it's more of a status than an error code so renaming.
>
> BUG=511278
>
> Committed: https://crrev.com/b4a96a1fe749e668f5c4416be3fc58c1f9201fe7
> Cr-Commit-Position: refs/heads/master@{#341748}
TBR=iclelland@chromium.org,johnme@chromium.org,mvanouwerkerk@chromium.org
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=511278
Review URL: https://codereview.chromium.org/1253013005
Cr-Commit-Position: refs/heads/master@{#341752}
Diffstat (limited to 'content/browser/background_sync/background_sync_status.h')
-rw-r--r-- | content/browser/background_sync/background_sync_status.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/content/browser/background_sync/background_sync_status.h b/content/browser/background_sync/background_sync_status.h deleted file mode 100644 index 3faee99..0000000 --- a/content/browser/background_sync/background_sync_status.h +++ /dev/null @@ -1,24 +0,0 @@ -// Copyright 2015 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. - -#ifndef CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_STATUS_H_ -#define CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_STATUS_H_ - -namespace content { - -// The status of BackgroundSyncManager actions. These are recorded in histograms -// (as BackgroundSyncResult) so don't remove any entries and always append to -// the end. -enum BackgroundSyncStatus { - BACKGROUND_SYNC_STATUS_OK = 0, - BACKGROUND_SYNC_STATUS_STORAGE_ERROR, - BACKGROUND_SYNC_STATUS_NOT_FOUND, - BACKGROUND_SYNC_STATUS_NO_SERVICE_WORKER, - BACKGROUND_SYNC_STATUS_NOT_ALLOWED, - BACKGROUND_SYNC_STATUS_MAX = BACKGROUND_SYNC_STATUS_NOT_ALLOWED -}; - -} // namespace content - -#endif // CONTENT_BROWSER_BACKGROUND_SYNC_BACKGROUND_SYNC_STATUS_H_ |