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
(11)
Issues
Search
My Issues
|
Starred
Open
|
Closed
|
All
Side by Side Diff: third_party/WebKit/Source/modules/budget/Budget.idl
Issue
2229283003
:
Convert Budget to BudgetService. (Closed)
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set:
Created 4 years, 4 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:
third_party/WebKit/LayoutTests/http/tests/budget/interfaces.html
third_party/WebKit/Source/modules/budget/Budget.h
third_party/WebKit/Source/modules/budget/Budget.cpp
third_party/WebKit/Source/modules/budget/Budget.idl
third_party/WebKit/Source/modules/budget/BudgetService.h
third_party/WebKit/Source/modules/budget/BudgetService.cpp
third_party/WebKit/Source/modules/budget/BudgetService.idl
third_party/WebKit/Source/modules/budget/NavigatorBudget.h
third_party/WebKit/Source/modules/budget/NavigatorBudget.cpp
third_party/WebKit/Source/modules/budget/NavigatorBudget.idl
third_party/WebKit/Source/modules/modules.gypi
View unified diff
|
Download patch
« no previous file with comments
|
« third_party/WebKit/Source/modules/budget/Budget.cpp
('k') |
third_party/WebKit/Source/modules/budget/BudgetService.h »
('j') |
third_party/WebKit/Source/modules/budget/BudgetService.h »
('J')
Toggle Intra-line Diffs
('i') |
Expand Comments
('e') |
Collapse Comments
('c') |
Show Comments
Hide Comments
('s')
OLD
NEW
(Empty)
1
// Copyright 2016 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
// https://beverloo.github.io/budget-api/#budget-service-interface
6
// TODO(harkness): Link WICG spec when it exists.
7
8
enum ActionType {
9
"silent-push"
10
};
11
12
[
13
RuntimeEnabled=Budget
14
] interface Budget {
15
[CallWith=ScriptState] Promise<double> getCost(ActionType actionType);
16
[CallWith=ScriptState] Promise<FrozenArray<BudgetChunk>> getBudget();
17
};
OLD
NEW
« no previous file with comments
|
« third_party/WebKit/Source/modules/budget/Budget.cpp
('k') |
third_party/WebKit/Source/modules/budget/BudgetService.h »
('j') |
third_party/WebKit/Source/modules/budget/BudgetService.h »
('J')
Issue 2229283003: Convert Budget to BudgetService. (Closed)
Created 4 years, 4 months ago by harkness
Modified 4 years, 4 months ago
Reviewers: Peter Beverloo
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 2
This is Rietveld
408576698