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

Unified Diff: components/nacl/browser/pnacl_host.cc

Issue 75463005: Move more files from chrome/browser/nacl_host/ to components/nacl/browser/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: components/nacl/browser/pnacl_host.cc
diff --git a/chrome/browser/nacl_host/pnacl_host.cc b/components/nacl/browser/pnacl_host.cc
similarity index 99%
rename from chrome/browser/nacl_host/pnacl_host.cc
rename to components/nacl/browser/pnacl_host.cc
index 6a974cd9aaa40a5f0f07223f2dd3b9b33d4a58c2..2ed4d5d4aa0b02acbc734c8b87e8d6c24102e9d1 100644
--- a/chrome/browser/nacl_host/pnacl_host.cc
+++ b/components/nacl/browser/pnacl_host.cc
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "chrome/browser/nacl_host/pnacl_host.h"
+#include "components/nacl/browser/pnacl_host.h"
#include "base/bind.h"
#include "base/bind_helpers.h"
@@ -26,6 +26,8 @@ static const base::FilePath::CharType kTranslationCacheDirectoryName[] =
static const int kTranslationCacheInitializationDelayMs = 20;
}
+namespace pnacl {
+
PnaclHost::PnaclHost()
: pending_backend_operations_(0),
cache_state_(CacheUninitialized),
@@ -628,3 +630,5 @@ void PnaclHost::DeInitIfSafe() {
disk_cache_.reset();
}
}
+
+} // namespace pnacl

Powered by Google App Engine
This is Rietveld 408576698