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

Unified Diff: chrome/browser/metrics/variations/chrome_variations_service_client.cc

Issue 1293113004: Introduce (Chrome)VariationsServiceClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Self-review Created 5 years, 4 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
Index: chrome/browser/metrics/variations/chrome_variations_service_client.cc
diff --git a/chrome/browser/metrics/variations/chrome_variations_service_client.cc b/chrome/browser/metrics/variations/chrome_variations_service_client.cc
new file mode 100644
index 0000000000000000000000000000000000000000..68cad5f7d6e8b4b094ab182f55f539bba9c44c84
--- /dev/null
+++ b/chrome/browser/metrics/variations/chrome_variations_service_client.cc
@@ -0,0 +1,15 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#include "chrome/browser/metrics/variations/chrome_variations_service_client.h"
+
+#include "chrome/browser/browser_process.h"
+
+ChromeVariationsServiceClient::ChromeVariationsServiceClient() {}
+
+ChromeVariationsServiceClient::~ChromeVariationsServiceClient() {}
+
+std::string ChromeVariationsServiceClient::GetApplicationLocale() {
+ return g_browser_process->GetApplicationLocale();
+}

Powered by Google App Engine
This is Rietveld 408576698