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

Side by Side Diff: google_apis/gcm/engine/gcm_store_impl.cc

Issue 1968043003: Fix include path for moved thread_task_runner_handle.h header in google_apis/ (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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 "google_apis/gcm/engine/gcm_store_impl.h" 5 #include "google_apis/gcm/engine/gcm_store_impl.h"
6 6
7 #include <utility> 7 #include <utility>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/files/file_path.h" 11 #include "base/files/file_path.h"
12 #include "base/files/file_util.h" 12 #include "base/files/file_util.h"
13 #include "base/logging.h" 13 #include "base/logging.h"
14 #include "base/macros.h" 14 #include "base/macros.h"
15 #include "base/metrics/histogram_macros.h" 15 #include "base/metrics/histogram_macros.h"
16 #include "base/profiler/scoped_tracker.h" 16 #include "base/profiler/scoped_tracker.h"
17 #include "base/sequenced_task_runner.h" 17 #include "base/sequenced_task_runner.h"
18 #include "base/stl_util.h" 18 #include "base/stl_util.h"
19 #include "base/strings/string_number_conversions.h" 19 #include "base/strings/string_number_conversions.h"
20 #include "base/strings/string_piece.h" 20 #include "base/strings/string_piece.h"
21 #include "base/strings/string_tokenizer.h" 21 #include "base/strings/string_tokenizer.h"
22 #include "base/strings/string_util.h" 22 #include "base/strings/string_util.h"
23 #include "base/thread_task_runner_handle.h" 23 #include "base/threading/thread_task_runner_handle.h"
24 #include "base/time/time.h" 24 #include "base/time/time.h"
25 #include "base/tracked_objects.h" 25 #include "base/tracked_objects.h"
26 #include "google_apis/gcm/base/encryptor.h" 26 #include "google_apis/gcm/base/encryptor.h"
27 #include "google_apis/gcm/base/mcs_message.h" 27 #include "google_apis/gcm/base/mcs_message.h"
28 #include "google_apis/gcm/base/mcs_util.h" 28 #include "google_apis/gcm/base/mcs_util.h"
29 #include "google_apis/gcm/protocol/mcs.pb.h" 29 #include "google_apis/gcm/protocol/mcs.pb.h"
30 #include "third_party/leveldatabase/env_chromium.h" 30 #include "third_party/leveldatabase/env_chromium.h"
31 #include "third_party/leveldatabase/src/include/leveldb/db.h" 31 #include "third_party/leveldatabase/src/include/leveldb/db.h"
32 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h" 32 #include "third_party/leveldatabase/src/include/leveldb/write_batch.h"
33 33
(...skipping 1440 matching lines...) Expand 10 before | Expand all | Expand 10 after
1474 removed_message_counts.begin(); 1474 removed_message_counts.begin();
1475 iter != removed_message_counts.end(); ++iter) { 1475 iter != removed_message_counts.end(); ++iter) {
1476 DCHECK_NE(app_message_counts_.count(iter->first), 0U); 1476 DCHECK_NE(app_message_counts_.count(iter->first), 0U);
1477 app_message_counts_[iter->first] -= iter->second; 1477 app_message_counts_[iter->first] -= iter->second;
1478 DCHECK_GE(app_message_counts_[iter->first], 0); 1478 DCHECK_GE(app_message_counts_[iter->first], 0);
1479 } 1479 }
1480 callback.Run(true); 1480 callback.Run(true);
1481 } 1481 }
1482 1482
1483 } // namespace gcm 1483 } // namespace gcm
OLDNEW
« no previous file with comments | « google_apis/gcm/engine/gcm_request_test_base.h ('k') | google_apis/gcm/engine/gcm_store_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698