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

Side by Side Diff: content/browser/presentation/presentation_service_impl.cc

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 11 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/presentation/presentation_service_impl.h" 5 #include "content/browser/presentation/presentation_service_impl.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <algorithm> 10 #include <algorithm>
8 #include <string> 11 #include <string>
9 #include <vector> 12 #include <vector>
10 13
11 #include "base/logging.h" 14 #include "base/logging.h"
12 #include "base/stl_util.h" 15 #include "base/stl_util.h"
13 #include "content/browser/presentation/presentation_type_converters.h" 16 #include "content/browser/presentation/presentation_type_converters.h"
14 #include "content/public/browser/content_browser_client.h" 17 #include "content/public/browser/content_browser_client.h"
15 #include "content/public/browser/navigation_details.h" 18 #include "content/public/browser/navigation_details.h"
16 #include "content/public/browser/presentation_session_message.h" 19 #include "content/public/browser/presentation_session_message.h"
(...skipping 578 matching lines...) Expand 10 before | Expand all | Expand 10 after
595 598
596 void PresentationServiceImpl::NewSessionMojoCallbackWrapper::Run( 599 void PresentationServiceImpl::NewSessionMojoCallbackWrapper::Run(
597 presentation::PresentationSessionInfoPtr session, 600 presentation::PresentationSessionInfoPtr session,
598 presentation::PresentationErrorPtr error) { 601 presentation::PresentationErrorPtr error) {
599 DCHECK(!callback_.is_null()); 602 DCHECK(!callback_.is_null());
600 callback_.Run(session.Pass(), error.Pass()); 603 callback_.Run(session.Pass(), error.Pass());
601 callback_.reset(); 604 callback_.reset();
602 } 605 }
603 606
604 } // namespace content 607 } // namespace content
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698