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

Side by Side Diff: ios/chrome/browser/memory/memory_debugger.mm

Issue 1917053003: unique_ptr_migration: clean up references to scoped_ptr as of r389721 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
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 #import "ios/chrome/browser/memory/memory_debugger.h" 5 #import "ios/chrome/browser/memory/memory_debugger.h"
6 6
7 #include <stdint.h> 7 #include <stdint.h>
8 8
9 #include <memory>
10
9 #include "base/ios/ios_util.h" 11 #include "base/ios/ios_util.h"
10 #import "base/mac/scoped_nsobject.h" 12 #import "base/mac/scoped_nsobject.h"
11 #import "base/memory/scoped_ptr.h"
12 #import "ios/chrome/browser/memory/memory_metrics.h" 13 #import "ios/chrome/browser/memory/memory_metrics.h"
13 #include "ios/chrome/browser/ui/ui_util.h" 14 #include "ios/chrome/browser/ui/ui_util.h"
14 #import "ios/chrome/browser/ui/uikit_ui_util.h" 15 #import "ios/chrome/browser/ui/uikit_ui_util.h"
15 16
16 namespace { 17 namespace {
17 // The number of bytes in a megabyte. 18 // The number of bytes in a megabyte.
18 const CGFloat kNumBytesInMB = 1024 * 1024; 19 const CGFloat kNumBytesInMB = 1024 * 1024;
19 // The horizontal and vertical padding between subviews. 20 // The horizontal and vertical padding between subviews.
20 const CGFloat kPadding = 10; 21 const CGFloat kPadding = 10;
21 } // namespace 22 } // namespace
(...skipping 576 matching lines...) Expand 10 before | Expand all | Expand 10 after
598 [alert addAction:[UIAlertAction actionWithTitle:@"OK" 599 [alert addAction:[UIAlertAction actionWithTitle:@"OK"
599 style:UIAlertActionStyleDefault 600 style:UIAlertActionStyleDefault
600 handler:nil]]; 601 handler:nil]];
601 [[[[UIApplication sharedApplication] keyWindow] rootViewController] 602 [[[[UIApplication sharedApplication] keyWindow] rootViewController]
602 presentViewController:alert 603 presentViewController:alert
603 animated:YES 604 animated:YES
604 completion:nil]; 605 completion:nil];
605 } 606 }
606 607
607 @end 608 @end
OLDNEW
« no previous file with comments | « headless/public/headless_web_contents.h ('k') | ios/web/net/crw_cert_verification_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698