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

Side by Side Diff: chrome/browser/metrics/variations/variations_service.cc

Issue 664333002: Revert "Added incident report for variations seed signature mismatch." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 unified diff | Download patch
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 "chrome/browser/metrics/variations/variations_service.h" 5 #include "chrome/browser/metrics/variations/variations_service.h"
6 6
7 #include <set> 7 #include <set>
8 8
9 #include "base/build_time.h" 9 #include "base/build_time.h"
10 #include "base/command_line.h" 10 #include "base/command_line.h"
(...skipping 676 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 } 687 }
688 688
689 void VariationsService::RecordLastFetchTime() { 689 void VariationsService::RecordLastFetchTime() {
690 // local_state_ is NULL in tests, so check it first. 690 // local_state_ is NULL in tests, so check it first.
691 if (local_state_) { 691 if (local_state_) {
692 local_state_->SetInt64(prefs::kVariationsLastFetchTime, 692 local_state_->SetInt64(prefs::kVariationsLastFetchTime,
693 base::Time::Now().ToInternalValue()); 693 base::Time::Now().ToInternalValue());
694 } 694 }
695 } 695 }
696 696
697 std::string VariationsService::GetInvalidVariationsSeedSignature() const {
698 return seed_store_.GetInvalidSignature();
699 }
700
701 } // namespace chrome_variations 697 } // namespace chrome_variations
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698