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

Side by Side Diff: components/translate/content/renderer/translate_helper.cc

Issue 1178683009: Change histogram.h includes to histogram_macros.h in components/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "components/translate/content/renderer/translate_helper.h" 5 #include "components/translate/content/renderer/translate_helper.h"
6 6
7 #include "base/bind.h" 7 #include "base/bind.h"
8 #include "base/compiler_specific.h" 8 #include "base/compiler_specific.h"
9 #include "base/location.h" 9 #include "base/location.h"
10 #include "base/logging.h" 10 #include "base/logging.h"
11 #include "base/metrics/histogram.h" 11 #include "base/metrics/histogram_macros.h"
12 #include "base/single_thread_task_runner.h" 12 #include "base/single_thread_task_runner.h"
13 #include "base/strings/string16.h" 13 #include "base/strings/string16.h"
14 #include "base/strings/string_util.h" 14 #include "base/strings/string_util.h"
15 #include "base/strings/utf_string_conversions.h" 15 #include "base/strings/utf_string_conversions.h"
16 #include "base/thread_task_runner_handle.h" 16 #include "base/thread_task_runner_handle.h"
17 #include "components/translate/content/common/translate_messages.h" 17 #include "components/translate/content/common/translate_messages.h"
18 #include "components/translate/content/renderer/renderer_cld_data_provider.h" 18 #include "components/translate/content/renderer/renderer_cld_data_provider.h"
19 #include "components/translate/content/renderer/renderer_cld_data_provider_facto ry.h" 19 #include "components/translate/content/renderer/renderer_cld_data_provider_facto ry.h"
20 #include "components/translate/content/renderer/renderer_cld_utils.h" 20 #include "components/translate/content/renderer/renderer_cld_utils.h"
21 #include "components/translate/core/common/translate_constants.h" 21 #include "components/translate/core/common/translate_constants.h"
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 // this, everything should start being ON_TIME. This should never run more 656 // this, everything should start being ON_TIME. This should never run more
657 // than twice in a page load, under any conditions. 657 // than twice in a page load, under any conditions.
658 // Also note that language detection is triggered off of a delay AFTER the 658 // Also note that language detection is triggered off of a delay AFTER the
659 // page load completed event has fired, making this very much off the critical 659 // page load completed event has fired, making this very much off the critical
660 // path. 660 // path.
661 content::RenderThread::Get()->UpdateHistograms( 661 content::RenderThread::Get()->UpdateHistograms(
662 content::kHistogramSynchronizerReservedSequenceNumber); 662 content::kHistogramSynchronizerReservedSequenceNumber);
663 } 663 }
664 664
665 } // namespace translate 665 } // namespace translate
OLDNEW
« no previous file with comments | « components/sync_driver/model_association_manager.cc ('k') | components/translate/core/browser/translate_browser_metrics.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698