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

Unified Diff: chrome/browser/extensions/api/gcd_private/privet_v3_context_getter.cc

Issue 1450213002: Enable PrivetV3Session without checking command line flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@context7
Patch Set: Created 5 years, 1 month 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/extensions/api/gcd_private/privet_v3_context_getter.cc
diff --git a/chrome/browser/extensions/api/gcd_private/privet_v3_context_getter.cc b/chrome/browser/extensions/api/gcd_private/privet_v3_context_getter.cc
index ff75027f87c7e59eb969275e543f4a09e11b3ce4..dee238deb23b5dc2b8e7e59a0b2ec538532b8993 100644
--- a/chrome/browser/extensions/api/gcd_private/privet_v3_context_getter.cc
+++ b/chrome/browser/extensions/api/gcd_private/privet_v3_context_getter.cc
@@ -1,4 +1,4 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// 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.
@@ -8,7 +8,6 @@
#include "base/command_line.h"
#include "base/strings/string_number_conversions.h"
#include "chrome/common/chrome_content_client.h"
-#include "chrome/common/chrome_switches.h"
#include "net/base/net_errors.h"
#include "net/cert/cert_verifier.h"
#include "net/cert/cert_verify_result.h"
@@ -94,8 +93,6 @@ class PrivetV3ContextGetter::CertVerifier : public net::CertVerifier {
PrivetV3ContextGetter::PrivetV3ContextGetter(
const scoped_refptr<base::SingleThreadTaskRunner>& net_task_runner)
: net_task_runner_(net_task_runner), weak_ptr_factory_(this) {
- CHECK(base::CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnablePrivetV3));
}
net::URLRequestContext* PrivetV3ContextGetter::GetURLRequestContext() {

Powered by Google App Engine
This is Rietveld 408576698