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

Side by Side Diff: chrome/browser/services/gcm/gcm_account_tracker.cc

Issue 1162973005: Stop including ip_address_number.h from net_util.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove some header sorting changes, seems to be breaking windows Created 5 years, 6 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 "chrome/browser/services/gcm/gcm_account_tracker.h" 5 #include "chrome/browser/services/gcm/gcm_account_tracker.h"
6 6
7 #include <algorithm> 7 #include <algorithm>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/bind.h"
11 #include "base/message_loop/message_loop.h"
10 #include "base/time/time.h" 12 #include "base/time/time.h"
11 #include "components/gcm_driver/gcm_driver.h" 13 #include "components/gcm_driver/gcm_driver.h"
12 #include "google_apis/gaia/google_service_auth_error.h" 14 #include "google_apis/gaia/google_service_auth_error.h"
13 #include "net/base/ip_endpoint.h" 15 #include "net/base/ip_endpoint.h"
14 16
15 namespace gcm { 17 namespace gcm {
16 18
17 namespace { 19 namespace {
18 20
19 // Scopes needed by the OAuth2 access tokens. 21 // Scopes needed by the OAuth2 access tokens.
(...skipping 344 matching lines...) Expand 10 before | Expand all | Expand 10 after
364 iter->second.state = ACCOUNT_REMOVED; 366 iter->second.state = ACCOUNT_REMOVED;
365 ReportTokens(); 367 ReportTokens();
366 } 368 }
367 369
368 OAuth2TokenService* GCMAccountTracker::GetTokenService() { 370 OAuth2TokenService* GCMAccountTracker::GetTokenService() {
369 DCHECK(account_tracker_->identity_provider()); 371 DCHECK(account_tracker_->identity_provider());
370 return account_tracker_->identity_provider()->GetTokenService(); 372 return account_tracker_->identity_provider()->GetTokenService();
371 } 373 }
372 374
373 } // namespace gcm 375 } // namespace gcm
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698