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

Unified Diff: remoting/test/refresh_token_store.cc

Issue 1037723003: Updated the formatting for the app remoting test driver files using clag-format for consistency. N… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 | « remoting/test/mock_access_token_fetcher.cc ('k') | remoting/test/remote_host_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/test/refresh_token_store.cc
diff --git a/remoting/test/refresh_token_store.cc b/remoting/test/refresh_token_store.cc
index dfbf6dde4fe96dc09ba1671b86f3a60bf21355c7..e191f5b915c012f7ca838fec1c709326bbb9878f 100644
--- a/remoting/test/refresh_token_store.cc
+++ b/remoting/test/refresh_token_store.cc
@@ -24,8 +24,8 @@ base::FilePath GetRefreshTokenDirPath(const std::string& user_name) {
}
refresh_token_dir_path = refresh_token_dir_path.Append(kRemotingFolder);
- refresh_token_dir_path = refresh_token_dir_path.Append(
- kRefreshTokenStoreFolder);
+ refresh_token_dir_path =
+ refresh_token_dir_path.Append(kRefreshTokenStoreFolder);
// We call AppendASCII here our user_name is a std::string but wide strings
// are used on WIN platforms. ApendASCII will convert our std::string into
@@ -58,10 +58,12 @@ class RefreshTokenStoreOnDisk : public RefreshTokenStore {
DISALLOW_COPY_AND_ASSIGN(RefreshTokenStoreOnDisk);
};
-RefreshTokenStoreOnDisk::RefreshTokenStoreOnDisk(const std::string user_name) :
- user_name_(user_name) {}
+RefreshTokenStoreOnDisk::RefreshTokenStoreOnDisk(const std::string user_name)
+ : user_name_(user_name) {
+}
-RefreshTokenStoreOnDisk::~RefreshTokenStoreOnDisk() {}
+RefreshTokenStoreOnDisk::~RefreshTokenStoreOnDisk() {
+}
std::string RefreshTokenStoreOnDisk::FetchRefreshToken() {
base::FilePath token_dir_path(GetRefreshTokenDirPath(user_name_));
@@ -131,8 +133,8 @@ bool RefreshTokenStoreOnDisk::StoreRefreshToken(
scoped_ptr<RefreshTokenStore> RefreshTokenStore::OnDisk(
const std::string& user_name) {
- return make_scoped_ptr<RefreshTokenStore>(new RefreshTokenStoreOnDisk(
- user_name));
+ return make_scoped_ptr<RefreshTokenStore>(
+ new RefreshTokenStoreOnDisk(user_name));
}
} // namespace test
« no previous file with comments | « remoting/test/mock_access_token_fetcher.cc ('k') | remoting/test/remote_host_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698