diff options
Diffstat (limited to 'chrome/common/child_process_logging.h')
-rw-r--r-- | chrome/common/child_process_logging.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/chrome/common/child_process_logging.h b/chrome/common/child_process_logging.h index 9bc386e..edf4517 100644 --- a/chrome/common/child_process_logging.h +++ b/chrome/common/child_process_logging.h @@ -1,4 +1,4 @@ -// Copyright (c) 2009 The Chromium Authors. All rights reserved. +// Copyright (c) 2010 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -6,10 +6,18 @@ #define CHROME_COMMON_CHILD_PROCESS_LOGGING_H_ #include <set> +#include <string> #include "base/basictypes.h" #include "googleurl/src/gurl.h" +#if defined(OS_WIN) +// The maximum number of active extensions we will report. +// Also used in chrome/app, but we define it here to avoid a common->app +// dependency. +static const int kMaxReportedActiveExtensions = 10; +#endif + namespace child_process_logging { // Sets the URL that is logged if the child process crashes. Use GURL() to clear |