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

Side by Side Diff: ios/chrome/browser/memory/memory_debugger_manager.h

Issue 1057933002: [iOS] Upstream //ios/chrome/browser/memory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@upstreamNet
Patch Set: Remove extra bracket Created 5 years, 8 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef IOS_CHROME_BROWSER_MEMORY_MEMORY_DEBUGGER_MANAGER_H_
6 #define IOS_CHROME_BROWSER_MEMORY_MEMORY_DEBUGGER_MANAGER_H_
7
8 #import <Foundation/Foundation.h>
9
10 class PrefRegistrySimple;
11 class PrefService;
12 @class UIView;
13
14 // A class to manage the life cycle of a MemoryDebugger instance.
15 //
16 // A MemoryDebugger's existence is controlled by a pref in local state, so the
17 // MemoryDebuggerManager listens for changes to that pref and instantiates or
18 // frees the debugger as appropriate.
19 @interface MemoryDebuggerManager : NSObject
20 // Designated initializer.
21 - (instancetype)initWithView:(UIView*)view prefs:(PrefService*)prefs;
22 // Registers local state preferences.
23 + (void)registerLocalState:(PrefRegistrySimple*)registry;
24 @end
25
26 #endif // IOS_CHROME_BROWSER_MEMORY_MEMORY_DEBUGGER_MANAGER_H_
OLDNEW
« no previous file with comments | « ios/chrome/browser/memory/memory_debugger.mm ('k') | ios/chrome/browser/memory/memory_debugger_manager.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698