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

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

Issue 6532008: Fix chromium-style compile error that got in the tree since yesterday. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixes for Feb 17th Created 9 years, 10 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 | « no previous file | chrome/browser/browser_about_handler.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 code for handling "about:" URLs in the browser process. 5 // Contains code for handling "about:" URLs in the browser process.
6 6
7 #ifndef CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_ 7 #ifndef CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_
8 #define CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_ 8 #define CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_
9 #pragma once 9 #pragma once
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 } 53 }
54 54
55 // Callback for output returned from renderer processes. Adds 55 // Callback for output returned from renderer processes. Adds
56 // the output for a canonical renderer header string that 56 // the output for a canonical renderer header string that
57 // incorporates the pid. 57 // incorporates the pid.
58 void RendererCallback(base::ProcessId pid, std::string output) { 58 void RendererCallback(base::ProcessId pid, std::string output) {
59 SetOutput(StringPrintf("Renderer PID %d", static_cast<int>(pid)), output); 59 SetOutput(StringPrintf("Renderer PID %d", static_cast<int>(pid)), output);
60 } 60 }
61 61
62 private: 62 private:
63 AboutTcmallocOutputs() {} 63 AboutTcmallocOutputs();
64 ~AboutTcmallocOutputs();
64 65
65 AboutTcmallocOutputsType outputs_; 66 AboutTcmallocOutputsType outputs_;
66 67
67 friend struct DefaultSingletonTraits<AboutTcmallocOutputs>; 68 friend struct DefaultSingletonTraits<AboutTcmallocOutputs>;
68 69
69 DISALLOW_COPY_AND_ASSIGN(AboutTcmallocOutputs); 70 DISALLOW_COPY_AND_ASSIGN(AboutTcmallocOutputs);
70 }; 71 };
71 72
72 // Glue between the callback task and the method in the singleton. 73 // Glue between the callback task and the method in the singleton.
73 void AboutTcmallocRendererCallback(base::ProcessId pid, std::string output); 74 void AboutTcmallocRendererCallback(base::ProcessId pid, std::string output);
74 #endif 75 #endif
75 76
76 #endif // CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_ 77 #endif // CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/browser_about_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698