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

Side by Side Diff: ios/chrome/app/application_delegate/memory_warning_helper.h

Issue 2562403003: Fix include guards of files in src/ios. (Closed)
Patch Set: Rebase on origin/master. Created 4 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
« no previous file with comments | « no previous file | ios/chrome/browser/browser_state/chrome_browser_state_impl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 #ifndef IOS_CHROME_APP_APPLICATION_DELEGATE_MEMORY_RECOVERY_HELPER_H_ 5 #ifndef IOS_CHROME_APP_APPLICATION_DELEGATE_MEMORY_WARNING_HELPER_H_
6 #define IOS_CHROME_APP_APPLICATION_DELEGATE_MEMORY_RECOVERY_HELPER_H_ 6 #define IOS_CHROME_APP_APPLICATION_DELEGATE_MEMORY_WARNING_HELPER_H_
7 7
8 #import <Foundation/Foundation.h> 8 #import <Foundation/Foundation.h>
9 9
10 // Helper for handling memory warnings. 10 // Helper for handling memory warnings.
11 @interface MemoryWarningHelper : NSObject 11 @interface MemoryWarningHelper : NSObject
12 12
13 // The number of memory warnings that have been received in this 13 // The number of memory warnings that have been received in this
14 // foreground session. 14 // foreground session.
15 @property(nonatomic, readonly) NSInteger foregroundMemoryWarningCount; 15 @property(nonatomic, readonly) NSInteger foregroundMemoryWarningCount;
16 16
17 // Frees as much memory as possible and registers that there was a memory 17 // Frees as much memory as possible and registers that there was a memory
18 // pressure. 18 // pressure.
19 - (void)handleMemoryPressure; 19 - (void)handleMemoryPressure;
20 20
21 // Resets the foregroundMemoryWarningCount property and the memoryWarningCount 21 // Resets the foregroundMemoryWarningCount property and the memoryWarningCount
22 // of the breakpad helper, setting their value to 0. 22 // of the breakpad helper, setting their value to 0.
23 - (void)resetForegroundMemoryWarningCount; 23 - (void)resetForegroundMemoryWarningCount;
24 24
25 @end 25 @end
26 26
27 #endif // IOS_CHROME_APP_APPLICATION_DELEGATE_MEMORY_RECOVERY_HELPER_H_ 27 #endif // IOS_CHROME_APP_APPLICATION_DELEGATE_MEMORY_WARNING_HELPER_H_
OLDNEW
« no previous file with comments | « no previous file | ios/chrome/browser/browser_state/chrome_browser_state_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698