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

Side by Side Diff: sync/tools/null_invalidation_state_tracker.cc

Issue 86913002: Make base::Base64Encode() return void (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: One more chromeos-specific fix. Created 7 years 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 unified diff | Download patch
« no previous file with comments | « sync/test/fake_encryptor.cc ('k') | sync/util/cryptographer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "sync/tools/null_invalidation_state_tracker.h" 5 #include "sync/tools/null_invalidation_state_tracker.h"
6 6
7 #include "base/base64.h" 7 #include "base/base64.h"
8 #include "base/bind.h" 8 #include "base/bind.h"
9 #include "base/callback.h" 9 #include "base/callback.h"
10 #include "base/location.h" 10 #include "base/location.h"
(...skipping 20 matching lines...) Expand all
31 NOTREACHED() << "This state tracker does not support reflection-blocking"; 31 NOTREACHED() << "This state tracker does not support reflection-blocking";
32 return std::string(); 32 return std::string();
33 } 33 }
34 34
35 std::string NullInvalidationStateTracker::GetBootstrapData() const { 35 std::string NullInvalidationStateTracker::GetBootstrapData() const {
36 return std::string(); 36 return std::string();
37 } 37 }
38 38
39 void NullInvalidationStateTracker::SetBootstrapData(const std::string& data) { 39 void NullInvalidationStateTracker::SetBootstrapData(const std::string& data) {
40 std::string base64_data; 40 std::string base64_data;
41 CHECK(base::Base64Encode(data, &base64_data)); 41 base::Base64Encode(data, &base64_data);
42 LOG(INFO) << "Setting bootstrap data to: " << base64_data; 42 LOG(INFO) << "Setting bootstrap data to: " << base64_data;
43 } 43 }
44 44
45 void NullInvalidationStateTracker::Clear() { 45 void NullInvalidationStateTracker::Clear() {
46 // We have no members to clear. 46 // We have no members to clear.
47 } 47 }
48 48
49 void NullInvalidationStateTracker::SetSavedInvalidations( 49 void NullInvalidationStateTracker::SetSavedInvalidations(
50 const UnackedInvalidationsMap& states) { 50 const UnackedInvalidationsMap& states) {
51 // Do nothing. 51 // Do nothing.
52 } 52 }
53 53
54 UnackedInvalidationsMap 54 UnackedInvalidationsMap
55 NullInvalidationStateTracker::GetSavedInvalidations() const { 55 NullInvalidationStateTracker::GetSavedInvalidations() const {
56 return UnackedInvalidationsMap(); 56 return UnackedInvalidationsMap();
57 } 57 }
58 58
59 } // namespace syncer 59 } // namespace syncer
OLDNEW
« no previous file with comments | « sync/test/fake_encryptor.cc ('k') | sync/util/cryptographer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698