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

Unified Diff: net/url_request/url_request_netlog_params.cc

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « net/url_request/url_request_netlog_params.h ('k') | net/url_request/url_request_redirect_job.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_netlog_params.cc
diff --git a/net/url_request/url_request_netlog_params.cc b/net/url_request/url_request_netlog_params.cc
deleted file mode 100644
index a1e8243b73ef01a565e1fd957b0d0f37c2cce181..0000000000000000000000000000000000000000
--- a/net/url_request/url_request_netlog_params.cc
+++ /dev/null
@@ -1,40 +0,0 @@
-// Copyright (c) 2012 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 "net/url_request/url_request_netlog_params.h"
-
-#include "base/strings/string_number_conversions.h"
-#include "base/values.h"
-#include "url/gurl.h"
-
-namespace net {
-
-base::Value* NetLogURLRequestStartCallback(const GURL* url,
- const std::string* method,
- int load_flags,
- RequestPriority priority,
- int64 upload_id,
- NetLog::LogLevel /* log_level */) {
- base::DictionaryValue* dict = new base::DictionaryValue();
- dict->SetString("url", url->possibly_invalid_spec());
- dict->SetString("method", *method);
- dict->SetInteger("load_flags", load_flags);
- dict->SetString("priority", RequestPriorityToString(priority));
- if (upload_id > -1)
- dict->SetString("upload_id", base::Int64ToString(upload_id));
- return dict;
-}
-
-bool StartEventLoadFlagsFromEventParams(const base::Value* event_params,
- int* load_flags) {
- const base::DictionaryValue* dict;
- if (!event_params->GetAsDictionary(&dict) ||
- !dict->GetInteger("load_flags", load_flags)) {
- *load_flags = 0;
- return false;
- }
- return true;
-}
-
-} // namespace net
« no previous file with comments | « net/url_request/url_request_netlog_params.h ('k') | net/url_request/url_request_redirect_job.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698