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

Unified Diff: blimp/engine/common/blimp_content_client.cc

Issue 1922613003: Add blimp to root GN check_targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Flipped the order of the conditional in //content/app/BUILD.gn Created 4 years, 8 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 | « blimp/engine/app/blimp_url_request_context_getter.cc ('k') | blimp/engine/common/blimp_user_agent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/engine/common/blimp_content_client.cc
diff --git a/blimp/engine/common/blimp_content_client.cc b/blimp/engine/common/blimp_content_client.cc
index cc57be195a37310c231422fc2cf8e288cf79d38b..a234adb19860ec3fc62a2444de210404845de68a 100644
--- a/blimp/engine/common/blimp_content_client.cc
+++ b/blimp/engine/common/blimp_content_client.cc
@@ -4,26 +4,12 @@
#include "blimp/engine/common/blimp_content_client.h"
-#include "components/version_info/version_info.h"
-#include "content/public/common/user_agent.h"
#include "ui/base/l10n/l10n_util.h"
#include "ui/base/resource/resource_bundle.h"
namespace blimp {
namespace engine {
-std::string client_os_info = "Linux; Android 5.1.1";
-
-std::string GetBlimpEngineUserAgent() {
- return content::BuildUserAgentFromOSAndProduct(
- client_os_info,
- version_info::GetProductNameAndVersionForUserAgent() + " Mobile");
-}
-
-void SetClientOSInfo(std::string os_version_info) {
- client_os_info = os_version_info;
-}
-
BlimpContentClient::~BlimpContentClient() {}
std::string BlimpContentClient::GetUserAgent() const {
« no previous file with comments | « blimp/engine/app/blimp_url_request_context_getter.cc ('k') | blimp/engine/common/blimp_user_agent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698