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

Side by Side Diff: content/browser/background_sync/background_sync_registration.cc

Issue 1967823004: Fix include path for moved thread_task_runner_handle.h header in content/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/background_sync/background_sync_registration.h" 5 #include "content/browser/background_sync/background_sync_registration.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/location.h" 8 #include "base/location.h"
9 #include "base/logging.h" 9 #include "base/logging.h"
10 #include "base/single_thread_task_runner.h" 10 #include "base/single_thread_task_runner.h"
11 #include "base/thread_task_runner_handle.h" 11 #include "base/threading/thread_task_runner_handle.h"
12 12
13 namespace content { 13 namespace content {
14 14
15 const BackgroundSyncRegistration::RegistrationId 15 const BackgroundSyncRegistration::RegistrationId
16 BackgroundSyncRegistration::kInvalidRegistrationId = -1; 16 BackgroundSyncRegistration::kInvalidRegistrationId = -1;
17 17
18 const BackgroundSyncRegistration::RegistrationId 18 const BackgroundSyncRegistration::RegistrationId
19 BackgroundSyncRegistration::kInitialId = 0; 19 BackgroundSyncRegistration::kInitialId = 0;
20 20
21 bool BackgroundSyncRegistration::Equals( 21 bool BackgroundSyncRegistration::Equals(
(...skipping 11 matching lines...) Expand all
33 case mojom::BackgroundSyncState::REREGISTERED_WHILE_FIRING: 33 case mojom::BackgroundSyncState::REREGISTERED_WHILE_FIRING:
34 return true; 34 return true;
35 case mojom::BackgroundSyncState::PENDING: 35 case mojom::BackgroundSyncState::PENDING:
36 return false; 36 return false;
37 } 37 }
38 NOTREACHED(); 38 NOTREACHED();
39 return false; 39 return false;
40 } 40 }
41 41
42 } // namespace content 42 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698