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

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
CC:
chromium-os-reviews_chromium.org, Vince Laviano
Visibility:
Public.

Description

Cashew: implement backend usage API BUG=chromium-os:7330 TEST=libcros/monitor_network and manual testing Change-Id: I65e0035c0cc83ee3343b9e66e9a76ad553fe04ba Committed: http://chrome-svn/viewvc/chromeos?view=rev&revision=b7ed6d3

Patch Set 1 #

Patch Set 2 : Remove workaround for test server problem #

Patch Set 3 : Update service's data plan list with parsed usage update #

Patch Set 4 : Add periodic update timer #

Patch Set 5 : Fix memory leak #

Patch Set 6 : Convert ISO 8601 time strings #

Patch Set 7 : Use timegm instead of mktime in time conversion #

Patch Set 8 : Send unsolicited updates #

Patch Set 9 : Add policy interface and default policy #

Total comments: 12

Patch Set 10 : Fix code review nits and remove hardcoded usage URLs #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1663 lines, -86 lines) Patch
M configure.ac View 1 chunk +3 lines, -0 lines 0 comments Download
M src/Makefile.am View 1 2 3 4 5 6 7 8 3 chunks +15 lines, -1 line 0 comments Download
M src/cashew_server.h View 2 chunks +10 lines, -4 lines 0 comments Download
M src/cashew_server.cc View 5 chunks +14 lines, -4 lines 0 comments Download
M src/data_plan.h View 3 4 5 6 7 8 9 3 chunks +18 lines, -2 lines 0 comments Download
M src/data_plan.cc View 1 2 3 4 5 6 4 chunks +168 lines, -13 lines 0 comments Download
A src/data_plan_provider.h View 1 2 3 4 5 6 7 8 9 1 chunk +105 lines, -0 lines 0 comments Download
A src/data_plan_provider.cc View 1 2 3 4 5 6 7 8 9 1 chunk +147 lines, -0 lines 0 comments Download
A src/default_policy.h View 9 1 chunk +39 lines, -0 lines 0 comments Download
A src/default_policy.cc View 9 1 chunk +36 lines, -0 lines 0 comments Download
M src/device.h View 1 2 3 4 5 6 7 3 chunks +8 lines, -2 lines 0 comments Download
M src/device.cc View 3 chunks +14 lines, -8 lines 0 comments Download
A src/http_fetcher.h View 1 chunk +105 lines, -0 lines 0 comments Download
A src/libcurl_http_fetcher.h View 1 chunk +159 lines, -0 lines 0 comments Download
A src/libcurl_http_fetcher.cc View 1 chunk +309 lines, -0 lines 0 comments Download
M src/main.cc View 1 2 3 4 5 6 7 6 chunks +24 lines, -14 lines 0 comments Download
A src/policy.h View 9 1 chunk +42 lines, -0 lines 0 comments Download
A src/policy.cc View 1 chunk +16 lines, -0 lines 0 comments Download
M src/service.h View 1 2 3 4 5 6 7 8 6 chunks +72 lines, -6 lines 0 comments Download
M src/service.cc View 1 2 3 4 5 6 7 8 9 6 chunks +323 lines, -29 lines 0 comments Download
M src/service_manager.h View 4 chunks +17 lines, -1 line 0 comments Download
M src/service_manager.cc View 5 chunks +19 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Jason Glasgow
Here are the comments I have so far. Nothing more than tiny nits. Thanks for ...
10 years, 2 months ago (2010-10-11 18:56:40 UTC) #1
Jason Glasgow
LGTM http://codereview.chromium.org/3528016/diff/13002/31018 File src/policy.h (right): http://codereview.chromium.org/3528016/diff/13002/31018#newcode26 src/policy.h:26: virtual guint GetUpdateTimerIdleSecs() const = 0; Theoretically, I'm ...
10 years, 2 months ago (2010-10-11 20:17:26 UTC) #2
Vince Laviano
http://codereview.chromium.org/3528016/diff/13002/31003 File src/cashew_server.cc (right): http://codereview.chromium.org/3528016/diff/13002/31003#newcode21 src/cashew_server.cc:21: ServiceManager * const service_manager) On 2010/10/11 18:56:40, Jason Glasgow ...
10 years, 2 months ago (2010-10-11 22:03:09 UTC) #3
jglasgow
10 years, 2 months ago (2010-10-11 22:07:23 UTC) #4
LGTM

Powered by Google App Engine
This is Rietveld 408576698