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
(5)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: src/byte_counter.cc
Issue
5180003
:
cashew: add local byte counters (Closed)
Base URL: ssh://git@gitrw.chromium.org:9222/cashew.git@master
Patch Set: Address jglasgow and zelidrag (offline) code review comments
Created 10 years, 1 month 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:
src/Makefile.am
src/byte_counter.h
src/byte_counter.cc
src/data_plan.h
src/data_plan.cc
src/default_policy.h
src/default_policy.cc
src/default_policy_unittest.cc
src/device.h
src/device.cc
src/policy.h
src/policy.cc
src/procfs_byte_counter.h
src/procfs_byte_counter.cc
src/procfs_byte_counter_unittest.cc
src/service.h
src/service.cc
View unified diff
|
Download patch
|
Annotate
|
Revision Log
« no previous file with comments
|
« src/byte_counter.h
('k') |
src/data_plan.h »
('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 (c) 2010 The Chromium OS 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
#include "src/byte_counter.h"
6
7
#include <glog/logging.h>
8
9
#include "src/procfs_byte_counter.h"
10
11
namespace cashew {
12
13
// static
14
ByteCounter* ByteCounter::NewByteCounter(const std::string& interface) {
15
DCHECK(!interface.empty());
16
return new(std::nothrow) ProcfsByteCounter(interface);
17
}
18
19
} // namespace cashew
OLD
NEW
« no previous file with comments
|
« src/byte_counter.h
('k') |
src/data_plan.h »
('j') |
no next file with comments »
Issue 5180003: cashew: add local byte counters (Closed)
Created 10 years, 1 month ago by Vince Laviano
Modified 9 years ago
Reviewers: Jason Glasgow
Base URL: ssh://git@gitrw.chromium.org:9222/cashew.git@master
Comments: 6
This is Rietveld
408576698