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

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

Issue 8566028: Cleanup: Remove more forward declarations in various chrome/browser directories. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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 | « chrome/browser/bookmarks/bookmark_html_writer.h ('k') | chrome/browser/browser_process_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 (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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
11 #include <map> 11 #include <map>
12 #include <string> 12 #include <string>
13 #include <vector> 13 #include <vector>
14 14
15 #include "base/process.h" 15 #include "base/process.h"
16 #include "base/stringprintf.h" 16 #include "base/stringprintf.h"
17 #include "build/build_config.h" // USE_TCMALLOC 17 #include "build/build_config.h" // USE_TCMALLOC
18 18
19 template <typename T> struct DefaultSingletonTraits; 19 template <typename T> struct DefaultSingletonTraits;
20 class GURL; 20 class GURL;
21 class Profile;
22 21
23 namespace content { 22 namespace content {
24 class BrowserContext; 23 class BrowserContext;
25 } 24 }
26 25
27 // Register a data source for a known source name. Safe to call multiple times. 26 // Register a data source for a known source name. Safe to call multiple times.
28 // |name| may be an unkown host (e.g. "chrome://foo/"); only handle known hosts. 27 // |name| may be an unkown host (e.g. "chrome://foo/"); only handle known hosts.
29 // In general case WillHandleBrowserAboutURL will initialize all data sources. 28 // In general case WillHandleBrowserAboutURL will initialize all data sources.
30 // But in some case like navigating to chrome://oobe on boot and loading 29 // But in some case like navigating to chrome://oobe on boot and loading
31 // chrome://terms in an iframe there, kChromeUITermsHost data source needs to 30 // chrome://terms in an iframe there, kChromeUITermsHost data source needs to
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 84
86 DISALLOW_COPY_AND_ASSIGN(AboutTcmallocOutputs); 85 DISALLOW_COPY_AND_ASSIGN(AboutTcmallocOutputs);
87 }; 86 };
88 87
89 // Glue between the callback task and the method in the singleton. 88 // Glue between the callback task and the method in the singleton.
90 void AboutTcmallocRendererCallback(base::ProcessId pid, 89 void AboutTcmallocRendererCallback(base::ProcessId pid,
91 const std::string& output); 90 const std::string& output);
92 #endif 91 #endif
93 92
94 #endif // CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_ 93 #endif // CHROME_BROWSER_BROWSER_ABOUT_HANDLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/bookmarks/bookmark_html_writer.h ('k') | chrome/browser/browser_process_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698