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

Side by Side Diff: content/shell/browser/shell_net_log.cc

Issue 1544273002: Switch to standard integer types in content/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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
« no previous file with comments | « content/shell/browser/shell_net_log.h ('k') | content/shell/browser/shell_network_delegate.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 "content/shell/browser/shell_net_log.h" 5 #include "content/shell/browser/shell_net_log.h"
6 6
7 #include <stdio.h> 7 #include <stdio.h>
8 8
9 #include "base/command_line.h" 9 #include "base/command_line.h"
10 #include "base/files/file_path.h" 10 #include "base/files/file_path.h"
11 #include "base/files/scoped_file.h" 11 #include "base/files/scoped_file.h"
12 #include "base/values.h" 12 #include "base/values.h"
13 #include "build/build_config.h"
13 #include "content/public/common/content_switches.h" 14 #include "content/public/common/content_switches.h"
14 #include "net/log/net_log_util.h" 15 #include "net/log/net_log_util.h"
15 #include "net/log/write_to_file_net_log_observer.h" 16 #include "net/log/write_to_file_net_log_observer.h"
16 17
17 namespace content { 18 namespace content {
18 19
19 namespace { 20 namespace {
20 21
21 base::DictionaryValue* GetShellConstants(const std::string& app_name) { 22 base::DictionaryValue* GetShellConstants(const std::string& app_name) {
22 scoped_ptr<base::DictionaryValue> constants_dict = net::GetNetConstants(); 23 scoped_ptr<base::DictionaryValue> constants_dict = net::GetNetConstants();
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 } 71 }
71 } 72 }
72 73
73 ShellNetLog::~ShellNetLog() { 74 ShellNetLog::~ShellNetLog() {
74 // Remove the observer we own before we're destroyed. 75 // Remove the observer we own before we're destroyed.
75 if (write_to_file_observer_) 76 if (write_to_file_observer_)
76 write_to_file_observer_->StopObserving(nullptr); 77 write_to_file_observer_->StopObserving(nullptr);
77 } 78 }
78 79
79 } // namespace content 80 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/browser/shell_net_log.h ('k') | content/shell/browser/shell_network_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698