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

Side by Side Diff: chrome/common/child_process_logging.h

Issue 2821010: Cleanup: Break some common->app dependencies. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: committed version with minor lint cleanup Created 10 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 | « chrome/app/breakpad_win.cc ('k') | chrome/common/child_process_logging_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) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 CHROME_COMMON_CHILD_PROCESS_LOGGING_H_ 5 #ifndef CHROME_COMMON_CHILD_PROCESS_LOGGING_H_
6 #define CHROME_COMMON_CHILD_PROCESS_LOGGING_H_ 6 #define CHROME_COMMON_CHILD_PROCESS_LOGGING_H_
7 7
8 #include <set> 8 #include <set>
9 #include <string>
9 10
10 #include "base/basictypes.h" 11 #include "base/basictypes.h"
11 #include "googleurl/src/gurl.h" 12 #include "googleurl/src/gurl.h"
12 13
14 #if defined(OS_WIN)
15 // The maximum number of active extensions we will report.
16 // Also used in chrome/app, but we define it here to avoid a common->app
17 // dependency.
18 static const int kMaxReportedActiveExtensions = 10;
19 #endif
20
13 namespace child_process_logging { 21 namespace child_process_logging {
14 22
15 // Sets the URL that is logged if the child process crashes. Use GURL() to clear 23 // Sets the URL that is logged if the child process crashes. Use GURL() to clear
16 // the URL. 24 // the URL.
17 void SetActiveURL(const GURL& url); 25 void SetActiveURL(const GURL& url);
18 26
19 // Sets the Client ID that is used as GUID if a Chrome process crashes. 27 // Sets the Client ID that is used as GUID if a Chrome process crashes.
20 void SetClientId(const std::string& client_id); 28 void SetClientId(const std::string& client_id);
21 29
22 // Sets the list of "active" extensions in this process. We overload "active" to 30 // Sets the list of "active" extensions in this process. We overload "active" to
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 ClearCrashKeyValueFuncPtr clear_key_func); 68 ClearCrashKeyValueFuncPtr clear_key_func);
61 69
62 extern const int kMaxNumCrashURLChunks; 70 extern const int kMaxNumCrashURLChunks;
63 extern const int kMaxNumURLChunkValueLength; 71 extern const int kMaxNumURLChunkValueLength;
64 extern const char *kUrlChunkFormatStr; 72 extern const char *kUrlChunkFormatStr;
65 } // namespace child_process_logging 73 } // namespace child_process_logging
66 74
67 #endif // defined(OS_MACOSX) && __OBJC__ 75 #endif // defined(OS_MACOSX) && __OBJC__
68 76
69 #endif // CHROME_COMMON_CHILD_PROCESS_LOGGING_H_ 77 #endif // CHROME_COMMON_CHILD_PROCESS_LOGGING_H_
OLDNEW
« no previous file with comments | « chrome/app/breakpad_win.cc ('k') | chrome/common/child_process_logging_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698