| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Google, Inc. All rights reserved. | 2 * Copyright (C) 2012 Google, Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 #include "wtf/text/WTFString.h" | 34 #include "wtf/text/WTFString.h" |
| 35 #include <v8.h> | 35 #include <v8.h> |
| 36 | 36 |
| 37 namespace blink { | 37 namespace blink { |
| 38 | 38 |
| 39 class CSSStyleSheet; | 39 class CSSStyleSheet; |
| 40 class Document; | 40 class Document; |
| 41 class EnumerationHistogram; | 41 class EnumerationHistogram; |
| 42 class ExecutionContext; | 42 class ExecutionContext; |
| 43 class Frame; | 43 class Frame; |
| 44 class LocalFrame; | |
| 45 class StyleSheetContents; | 44 class StyleSheetContents; |
| 46 | 45 |
| 47 // UseCounter is used for counting the number of times features of | 46 // UseCounter is used for counting the number of times features of |
| 48 // Blink are used on real web pages and help us know commonly | 47 // Blink are used on real web pages and help us know commonly |
| 49 // features are used and thus when it's safe to remove or change them. | 48 // features are used and thus when it's safe to remove or change them. |
| 50 // | 49 // |
| 51 // The Chromium Content layer controls what is done with this data. | 50 // The Chromium Content layer controls what is done with this data. |
| 52 // | 51 // |
| 53 // For instance, in Google Chrome, these counts are submitted anonymously | 52 // For instance, in Google Chrome, these counts are submitted anonymously |
| 54 // through the UMA histogram recording system in Chrome for users who have the | 53 // through the UMA histogram recording system in Chrome for users who have the |
| (...skipping 1414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1469 // Tracks what features/properties need to be reported to the legacy | 1468 // Tracks what features/properties need to be reported to the legacy |
| 1470 // histograms. | 1469 // histograms. |
| 1471 BitVector m_featureBits; | 1470 BitVector m_featureBits; |
| 1472 BitVector m_CSSBits; | 1471 BitVector m_CSSBits; |
| 1473 } m_legacyCounter; | 1472 } m_legacyCounter; |
| 1474 }; | 1473 }; |
| 1475 | 1474 |
| 1476 } // namespace blink | 1475 } // namespace blink |
| 1477 | 1476 |
| 1478 #endif // UseCounter_h | 1477 #endif // UseCounter_h |
| OLD | NEW |