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

Unified Diff: chrome/browser/internal_auth.cc

Issue 10694060: browser: Move more files into chrome namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 6 months 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 | « chrome/browser/internal_auth.h ('k') | chrome/browser/internal_auth_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/internal_auth.cc
diff --git a/chrome/browser/internal_auth.cc b/chrome/browser/internal_auth.cc
index ff4d51e8c6a50dad43949be51828648d70264070..aa7fe726b0bbf5f198587b2987943611843b3183 100644
--- a/chrome/browser/internal_auth.cc
+++ b/chrome/browser/internal_auth.cc
@@ -140,12 +140,11 @@ void ConvertVarValueMapToBlob(const VarValueMap& map, std::string* out) {
*out += it->first + kVarValueSeparator + it->second + kItemSeparator;
}
-void CreatePassport(
- const std::string& domain,
- const VarValueMap& map,
- int64 tick,
- const crypto::HMAC* engine,
- std::string* out) {
+void CreatePassport(const std::string& domain,
+ const VarValueMap& map,
+ int64 tick,
+ const crypto::HMAC* engine,
+ std::string* out) {
DCHECK(engine);
DCHECK(out);
DCHECK(IsDomainSane(domain));
@@ -191,7 +190,7 @@ void CreatePassport(
} // namespace
-namespace browser {
+namespace chrome {
class InternalAuthVerificationService {
public:
@@ -320,18 +319,18 @@ class InternalAuthVerificationService {
DISALLOW_COPY_AND_ASSIGN(InternalAuthVerificationService);
};
-} // namespace browser
+} // namespace chrome
namespace {
-static base::LazyInstance<browser::InternalAuthVerificationService>
+static base::LazyInstance<chrome::InternalAuthVerificationService>
g_verification_service = LAZY_INSTANCE_INITIALIZER;
static base::LazyInstance<base::Lock>::Leaky
g_verification_service_lock = LAZY_INSTANCE_INITIALIZER;
} // namespace
-namespace browser {
+namespace chrome {
class InternalAuthGenerationService : public base::ThreadChecker {
public:
@@ -427,16 +426,16 @@ class InternalAuthGenerationService : public base::ThreadChecker {
DISALLOW_COPY_AND_ASSIGN(InternalAuthGenerationService);
};
-} // namespace browser
+} // namespace chrome
namespace {
-static base::LazyInstance<browser::InternalAuthGenerationService>
+static base::LazyInstance<chrome::InternalAuthGenerationService>
g_generation_service = LAZY_INSTANCE_INITIALIZER;
} // namespace
-namespace browser {
+namespace chrome {
// static
bool InternalAuthVerification::VerifyPassport(
@@ -476,4 +475,4 @@ void InternalAuthGeneration::GenerateNewKey() {
g_generation_service.Get().GenerateNewKey();
}
-} // namespace browser
+} // namespace chrome
« no previous file with comments | « chrome/browser/internal_auth.h ('k') | chrome/browser/internal_auth_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698