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
(214)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: src/policy.cc
Issue
3528016
:
Cashew: implement backend usage API (Closed)
Base URL: ssh://git@gitrw.chromium.org:9222/cashew.git
Patch Set: Fix code review nits and remove hardcoded usage URLs
Created 10 years, 2 months 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:
configure.ac
src/Makefile.am
src/cashew_server.h
src/cashew_server.cc
src/data_plan.h
src/data_plan.cc
src/data_plan_provider.h
src/data_plan_provider.cc
src/default_policy.h
src/default_policy.cc
src/device.h
src/device.cc
src/http_fetcher.h
src/libcurl_http_fetcher.h
src/libcurl_http_fetcher.cc
src/main.cc
src/policy.h
src/policy.cc
src/service.h
src/service.cc
src/service_manager.h
src/service_manager.cc
View unified diff
|
Download patch
|
Annotate
|
Revision Log
« no previous file with comments
|
« src/policy.h
('k') |
src/service.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/policy.h"
6
7
#include "src/default_policy.h"
8
9
namespace cashew {
10
11
Policy* Policy::GetPolicy(const std::string& carrier) {
12
// for now, everyone gets the default policy
13
return new(std::nothrow) DefaultPolicy(carrier);
14
}
15
16
} // namespace cashew
OLD
NEW
« no previous file with comments
|
« src/policy.h
('k') |
src/service.h »
('j') |
no next file with comments »
Issue 3528016: Cashew: implement backend usage API (Closed)
Created 10 years, 2 months ago by Vince Laviano
Modified 9 years ago
Reviewers: Jason Glasgow, jglasgow
Base URL: ssh://git@gitrw.chromium.org:9222/cashew.git
Comments: 12
This is Rietveld
408576698