Side by Side Diff
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Keyboard Shortcuts
File
u
:
up to issue
j
/
k
:
jump to file after / before current file
J
/
K
:
jump to next file with a comment after / before current file
Side-by-side diff
i
:
toggle intra-line diffs
e
:
expand all comments
c
:
collapse all comments
s
:
toggle showing all comments
n
/
p
:
next / previous diff chunk or comment
N
/
P
:
next / previous comment
<Up>
/
<Down>
:
next / previous line
Issue
u
:
up to list of issues
j
/
k
:
jump to patch after / before current patch
o
/
<Enter>
:
open current patch in side-by-side view
i
:
open current patch in unified diff view
Issue List
j
/
k
:
jump to issue after / before current issue
o
/
<Enter>
:
open current issue
Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr)
|
Please choose your nickname with
Settings
|
Help
|
Chromium Project
|
Gerrit Changes
|
Sign out
(693)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: components/metrics/metrics_hashes.h
Issue
1476633003
:
Move HashMetricName to base namespace. (Closed)
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set:
Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Draft comments are only viewable by you.
Context:
3 lines
10 lines
25 lines
50 lines
75 lines
100 lines
Whole file
Column Width:
Tab Spaces:
Jump to:
base/base.gyp
base/base.gypi
base/metrics/BUILD.gn
base/metrics/metrics_hashes.h
base/metrics/metrics_hashes.cc
base/metrics/metrics_hashes_unittest.cc
chrome/browser/about_flags.cc
components/components_tests.gyp
components/metrics.gypi
components/metrics/BUILD.gn
components/metrics/call_stack_profile_metrics_provider.cc
components/metrics/cloned_install_detector.cc
components/metrics/histogram_encoder.cc
components/metrics/metrics_hashes.h
components/metrics/metrics_hashes.cc
components/metrics/metrics_hashes_unittest.cc
components/metrics/metrics_log.cc
components/metrics/metrics_service_unittest.cc
components/metrics/profiler/profiler_metrics_provider_unittest.cc
components/rappor/rappor_service.cc
components/rappor/rappor_service_unittest.cc
components/rappor/sample.cc
View unified diff
|
Download patch
« base/metrics/metrics_hashes.cc
('K') |
« components/metrics/histogram_encoder.cc
('k') |
components/metrics/metrics_hashes.cc »
('j') |
no next file with comments »
Toggle Intra-line Diffs
('i') |
Expand Comments
('e') |
Collapse Comments
('c') |
Show Comments
Hide Comments
('s')
OLD
NEW
(Empty)
1
// Copyright 2014 The Chromium Authors. All rights reserved.
2
// Use of this source code is governed by a BSD-style license that can be
3
// found in the LICENSE file.
4
5
#ifndef COMPONENTS_METRICS_METRICS_HASHES_H_
6
#define COMPONENTS_METRICS_METRICS_HASHES_H_
7
8
#include <string>
9
10
#include "base/basictypes.h"
11
12
namespace metrics {
13
14
// Computes a uint64 hash of a given string based on its MD5 hash. Suitable for
15
// metric names.
16
uint64 HashMetricName(const std::string& name);
17
18
} // namespace metrics
19
20
#endif // COMPONENTS_METRICS_METRICS_HASHES_H_
OLD
NEW
« base/metrics/metrics_hashes.cc
('K') |
« components/metrics/histogram_encoder.cc
('k') |
components/metrics/metrics_hashes.cc »
('j') |
no next file with comments »
Issue 1476633003: Move HashMetricName to base namespace. (Closed)
Created 5 years ago by bcwhite
Modified 5 years ago
Reviewers: Alexei Svitkine (slow), Mark Mentovai
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 11
This is Rietveld
408576698