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

Side by Side Diff: ios/chrome/browser/sync/sessions/ios_chrome_local_session_event_router.cc

Issue 1544743002: Switch to standard integer types in ios/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years 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 "ios/chrome/browser/sync/sessions/ios_chrome_local_session_event_router .h" 5 #include "ios/chrome/browser/sync/sessions/ios_chrome_local_session_event_router .h"
6 6
7 #include <stddef.h>
8
7 #include "base/logging.h" 9 #include "base/logging.h"
8 #include "components/history/core/browser/history_service.h" 10 #include "components/history/core/browser/history_service.h"
9 #include "components/keyed_service/core/service_access_type.h" 11 #include "components/keyed_service/core/service_access_type.h"
10 #include "components/sync_sessions/sync_sessions_client.h" 12 #include "components/sync_sessions/sync_sessions_client.h"
11 #include "components/sync_sessions/synced_tab_delegate.h" 13 #include "components/sync_sessions/synced_tab_delegate.h"
12 #include "ios/chrome/browser/history/history_service_factory.h" 14 #include "ios/chrome/browser/history/history_service_factory.h"
13 #include "ios/chrome/browser/sync/glue/sync_start_util.h" 15 #include "ios/chrome/browser/sync/glue/sync_start_util.h"
14 #include "ios/chrome/browser/sync/ios_chrome_synced_tab_delegate.h" 16 #include "ios/chrome/browser/sync/ios_chrome_synced_tab_delegate.h"
15 #include "ios/chrome/browser/tab_parenting_global_observer.h" 17 #include "ios/chrome/browser/tab_parenting_global_observer.h"
16 #include "ios/public/provider/chrome/browser/browser_state/chrome_browser_state. h" 18 #include "ios/public/provider/chrome/browser/browser_state/chrome_browser_state. h"
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 113
112 void IOSChromeLocalSessionEventRouter::StartRoutingTo( 114 void IOSChromeLocalSessionEventRouter::StartRoutingTo(
113 browser_sync::LocalSessionEventHandler* handler) { 115 browser_sync::LocalSessionEventHandler* handler) {
114 DCHECK(!handler_); 116 DCHECK(!handler_);
115 handler_ = handler; 117 handler_ = handler;
116 } 118 }
117 119
118 void IOSChromeLocalSessionEventRouter::Stop() { 120 void IOSChromeLocalSessionEventRouter::Stop() {
119 handler_ = nullptr; 121 handler_ = nullptr;
120 } 122 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698