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

Side by Side Diff: chrome/browser/chrome_browser_main_linux.h

Issue 15418002: Record Chrome trace events in tcmalloc heap profiles (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanup, run in all renderers Created 7 years, 6 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 | Annotate | Revision Log
« no previous file with comments | « base/message_loop.cc ('k') | chrome/browser/chrome_browser_main_linux.cc » ('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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // Contains functions used by BrowserMain() that are linux-specific. 5 // Contains functions used by BrowserMain() that are linux-specific.
6 6
7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_ 7 #ifndef CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_
8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_ 8 #define CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_
9 9
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "chrome/browser/chrome_browser_main_posix.h" 12 #include "chrome/browser/chrome_browser_main_posix.h"
13 13
14 #if !defined(OS_CHROMEOS) 14 #if !defined(OS_CHROMEOS)
15 namespace chrome { 15 namespace chrome {
16 class StorageMonitorLinux; 16 class StorageMonitorLinux;
17 } 17 }
18 #endif 18 #endif
19 19
20 class ChromeBrowserMainPartsLinux : public ChromeBrowserMainPartsPosix { 20 class ChromeBrowserMainPartsLinux : public ChromeBrowserMainPartsPosix {
21 public: 21 public:
22 explicit ChromeBrowserMainPartsLinux( 22 explicit ChromeBrowserMainPartsLinux(
23 const content::MainFunctionParams& parameters); 23 const content::MainFunctionParams& parameters);
24 virtual ~ChromeBrowserMainPartsLinux(); 24 virtual ~ChromeBrowserMainPartsLinux();
25 25
26 // ChromeBrowserMainParts overrides. 26 // ChromeBrowserMainParts overrides.
27 virtual void PreProfileInit() OVERRIDE; 27 virtual void PreProfileInit() OVERRIDE;
28 virtual void PreMainMessageLoopRun() OVERRIDE;
28 virtual void PostMainMessageLoopRun() OVERRIDE; 29 virtual void PostMainMessageLoopRun() OVERRIDE;
29 30
30 private: 31 private:
31 #if !defined(OS_CHROMEOS) 32 #if !defined(OS_CHROMEOS)
32 scoped_ptr<chrome::StorageMonitorLinux> storage_monitor_; 33 scoped_ptr<chrome::StorageMonitorLinux> storage_monitor_;
33 #endif 34 #endif
34 35
35 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsLinux); 36 DISALLOW_COPY_AND_ASSIGN(ChromeBrowserMainPartsLinux);
36 }; 37 };
37 38
38 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_ 39 #endif // CHROME_BROWSER_CHROME_BROWSER_MAIN_LINUX_H_
OLDNEW
« no previous file with comments | « base/message_loop.cc ('k') | chrome/browser/chrome_browser_main_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698