| Index: chrome/service/cloud_print/cloud_print_token_store.cc
|
| diff --git a/chrome/service/cloud_print/cloud_print_token_store.cc b/chrome/service/cloud_print/cloud_print_token_store.cc
|
| index dacbf942cf6e8daad2d36cc977b53562a8581fd4..1fb39b026cbe44640c4932a02dcb9f0fac8ab8e2 100644
|
| --- a/chrome/service/cloud_print/cloud_print_token_store.cc
|
| +++ b/chrome/service/cloud_print/cloud_print_token_store.cc
|
| @@ -7,6 +7,8 @@
|
| #include "base/lazy_instance.h"
|
| #include "base/threading/thread_local.h"
|
|
|
| +namespace cloud_print {
|
| +
|
| // Keep the global CloudPrintTokenStore in a TLS slot so it is impossible to
|
| // incorrectly from the wrong thread.
|
| static base::LazyInstance<base::ThreadLocalPointer<CloudPrintTokenStore> >
|
| @@ -28,3 +30,5 @@ void CloudPrintTokenStore::SetToken(const std::string& token) {
|
| DCHECK(CalledOnValidThread());
|
| token_ = token;
|
| }
|
| +
|
| +} // namespace cloud_print
|
|
|