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

Side by Side Diff: third_party/WebKit/Source/core/frame/UseCounter.h

Issue 2336253002: Fix clang-cl release component build failure on windows. (Closed)
Patch Set: Created 4 years, 3 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 1341 matching lines...) Expand 10 before | Expand all | Expand 10 after
1352 1352
1353 unsigned m_muteCount; 1353 unsigned m_muteCount;
1354 Context m_context; 1354 Context m_context;
1355 1355
1356 // Track what features/properties have been reported to the (non-legacy) his tograms. 1356 // Track what features/properties have been reported to the (non-legacy) his tograms.
1357 BitVector m_featuresRecorded; 1357 BitVector m_featuresRecorded;
1358 BitVector m_CSSRecorded; 1358 BitVector m_CSSRecorded;
1359 1359
1360 // Encapsulates the work to preserve the old "FeatureObserver" histogram wit h original semantics 1360 // Encapsulates the work to preserve the old "FeatureObserver" histogram wit h original semantics
1361 // TODO(rbyers): remove this - http://crbug.com/597963 1361 // TODO(rbyers): remove this - http://crbug.com/597963
1362 class LegacyCounter { 1362 class CORE_EXPORT LegacyCounter {
1363 public: 1363 public:
1364 LegacyCounter(); 1364 LegacyCounter();
1365 ~LegacyCounter(); 1365 ~LegacyCounter();
1366 void countFeature(Feature); 1366 void countFeature(Feature);
1367 void countCSS(CSSPropertyID); 1367 void countCSS(CSSPropertyID);
1368 void updateMeasurements(); 1368 void updateMeasurements();
1369 private: 1369 private:
1370 // Tracks what features/properties need to be reported to the legacy his tograms. 1370 // Tracks what features/properties need to be reported to the legacy his tograms.
1371 BitVector m_featureBits; 1371 BitVector m_featureBits;
1372 BitVector m_CSSBits; 1372 BitVector m_CSSBits;
1373 } m_legacyCounter; 1373 } m_legacyCounter;
1374 }; 1374 };
1375 1375
1376 } // namespace blink 1376 } // namespace blink
1377 1377
1378 #endif // UseCounter_h 1378 #endif // UseCounter_h
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698