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

Unified Diff: components/nacl/common/pnacl_types.cc

Issue 55463002: Remove PNaCl's RequestFirstInstall, use resource throttle instead (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reorder functions Created 7 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.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/nacl/common/pnacl_types.h ('k') | ppapi/api/private/ppb_nacl_private.idl » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/nacl/common/pnacl_types.cc
diff --git a/components/nacl/common/pnacl_types.cc b/components/nacl/common/pnacl_types.cc
index 75384b6faed8bf60b3aa38d2d172b6d00a860402..b8e85d9b30e8a9f337f2f914a8b764eaa2e7b067 100644
--- a/components/nacl/common/pnacl_types.cc
+++ b/components/nacl/common/pnacl_types.cc
@@ -10,20 +10,4 @@ PnaclCacheInfo::PnaclCacheInfo()
: abi_version(0), opt_level(0), has_no_store_header(0) {}
PnaclCacheInfo::~PnaclCacheInfo() {}
-// static
-bool PnaclInstallProgress::progress_known(const PnaclInstallProgress& p) {
- return p.total_size >= 0;
-}
-
-// static
-PnaclInstallProgress PnaclInstallProgress::Unknown() {
- PnaclInstallProgress p;
- p.current = 0;
- // Use -1 to indicate that total is not determined.
- // This matches the -1 of the OnURLFetchDownloadProgress interface in
- // net/url_request/url_fetcher_delegate.h
- p.total_size = -1;
- return p;
-}
-
} // namespace nacl
« no previous file with comments | « components/nacl/common/pnacl_types.h ('k') | ppapi/api/private/ppb_nacl_private.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698