~ubuntu-branches/ubuntu/gutsy/firefox/gutsy

« back to all changes in this revision

Viewing changes to extensions/metrics/src/nsMetricsService.h

  • Committer: Bazaar Package Importer
  • Author(s): Ian Jackson
  • Date: 2006-10-10 18:49:32 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20061010184932-da75izt7y0e59afq
Tags: 1.99+2.0rc2+dfsg-0ubuntu1
* New upstream version 2.0rc2.
* Fix/workaround for epiphany GtkSocket lifetype crash:
  apply patch id=241087 from Mozilla Bugzilla #241535 to fix LP #63814.
* Change application name to `Firefox', as requested by mdz.
  Files changed:
    - browser/locales/en-US/chrome/branding/brand.dtd
    - browser/locales/en-US/chrome/branding/brand.properties;
  New values:
    - brandShortName and brandFullName: `Bon Echo' => `Firefox'
    - vendorShortName: `Mozilla' => `Ubuntu'
* Make preferences dialogue fit again (bah!).

Show diffs side-by-side

added added

removed removed

Lines of Context:
39
39
#ifndef nsMetricsService_h__
40
40
#define nsMetricsService_h__
41
41
 
42
 
// This must be before any #includes to enable logging in release builds
43
 
#ifdef MOZ_LOGGING
44
 
#define FORCE_PR_LOG
45
 
#endif
46
 
 
47
42
#include "nsIMetricsService.h"
48
43
#include "nsMetricsModule.h"
49
44
#include "nsMetricsConfig.h"
279
274
  // for several hours.
280
275
  static const PRUint32 kMaxRetries;
281
276
 
 
277
  // This is the logging format version that is sent with each upload.
 
278
  // The version should be incremented whenver a change is made that
 
279
  // affects the log output, including but not limited to:
 
280
  //  - adding or removing a collector
 
281
  //  - adding or removing a property
 
282
  //  - changing the meaning or interpretation of a property value
 
283
  static const PRUint32 kMetricsVersion;
 
284
 
282
285
  PRInt32 mEventCount;
283
286
  PRInt32 mSuspendCount;
284
287
  PRBool mUploading;
313
316
 
314
317
  // Returns true if the docshell should be considered a subframe.
315
318
  static PRBool IsSubframe(nsIDocShellTreeItem *docShell);
 
319
 
 
320
  // Finds the window id for the DOMWindow containing |node|.
 
321
  // Returns 0 if the window could not be found.
 
322
  static PRUint32 FindWindowForNode(nsIDOMNode *node);
316
323
};
317
324
 
318
325
#endif  // nsMetricsService_h__