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

Side by Side Diff: chrome/browser/extensions/api/push_messaging/push_messaging_invalidation_handler.cc

Issue 12378016: chrome: Update include paths of string_split.h to its new location. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "chrome/browser/extensions/api/push_messaging/push_messaging_invalidati on_handler.h" 5 #include "chrome/browser/extensions/api/push_messaging/push_messaging_invalidati on_handler.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/string_split.h"
11 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
11 #include "base/strings/string_split.h"
12 #include "chrome/browser/extensions/api/push_messaging/push_messaging_invalidati on_handler_delegate.h" 12 #include "chrome/browser/extensions/api/push_messaging/push_messaging_invalidati on_handler_delegate.h"
13 #include "chrome/browser/sync/invalidation_frontend.h" 13 #include "chrome/browser/sync/invalidation_frontend.h"
14 #include "chrome/common/extensions/extension.h" 14 #include "chrome/common/extensions/extension.h"
15 #include "google/cacheinvalidation/types.pb.h" 15 #include "google/cacheinvalidation/types.pb.h"
16 16
17 namespace extensions { 17 namespace extensions {
18 18
19 namespace { 19 namespace {
20 20
21 const int kNumberOfSubchannels = 4; 21 const int kNumberOfSubchannels = 4;
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 for (std::set<std::string>::const_iterator it = 133 for (std::set<std::string>::const_iterator it =
134 registered_extensions_.begin(); it != registered_extensions_.end(); 134 registered_extensions_.begin(); it != registered_extensions_.end();
135 ++it) { 135 ++it) {
136 const syncer::ObjectIdSet& object_ids = ExtensionIdToObjectIds(*it); 136 const syncer::ObjectIdSet& object_ids = ExtensionIdToObjectIds(*it);
137 ids.insert(object_ids.begin(), object_ids.end()); 137 ids.insert(object_ids.begin(), object_ids.end());
138 } 138 }
139 service_->UpdateRegisteredInvalidationIds(this, ids); 139 service_->UpdateRegisteredInvalidationIds(this, ids);
140 } 140 }
141 141
142 } // namespace extensions 142 } // namespace extensions
OLDNEW
« no previous file with comments | « chrome/browser/extensions/api/i18n/i18n_api.cc ('k') | chrome/browser/extensions/api/record/record_api.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698