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

Side by Side Diff: content/browser/devtools/devtools_netlog_observer.h

Issue 1549113002: Switch to standard integer types in content/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_NETLOG_OBSERVER_H_ 5 #ifndef CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_NETLOG_OBSERVER_H_
6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_NETLOG_OBSERVER_H_ 6 #define CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_NETLOG_OBSERVER_H_
7 7
8 #include <stdint.h>
9
8 #include "base/containers/hash_tables.h" 10 #include "base/containers/hash_tables.h"
11 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 12 #include "base/memory/ref_counted.h"
10 #include "content/public/common/resource_devtools_info.h" 13 #include "content/public/common/resource_devtools_info.h"
11 #include "net/log/net_log.h" 14 #include "net/log/net_log.h"
12 15
13 namespace net { 16 namespace net {
14 class URLRequest; 17 class URLRequest;
15 } // namespace net 18 } // namespace net
16 19
17 namespace content { 20 namespace content {
18 struct ResourceResponse; 21 struct ResourceResponse;
(...skipping 22 matching lines...) Expand all
41 static DevToolsNetLogObserver* GetInstance(); 44 static DevToolsNetLogObserver* GetInstance();
42 static void PopulateResponseInfo(net::URLRequest*, 45 static void PopulateResponseInfo(net::URLRequest*,
43 ResourceResponse*); 46 ResourceResponse*);
44 47
45 private: 48 private:
46 static DevToolsNetLogObserver* instance_; 49 static DevToolsNetLogObserver* instance_;
47 50
48 DevToolsNetLogObserver(); 51 DevToolsNetLogObserver();
49 ~DevToolsNetLogObserver() override; 52 ~DevToolsNetLogObserver() override;
50 53
51 ResourceInfo* GetResourceInfo(uint32 id); 54 ResourceInfo* GetResourceInfo(uint32_t id);
52 55
53 typedef base::hash_map<uint32, scoped_refptr<ResourceInfo> > RequestToInfoMap; 56 typedef base::hash_map<uint32_t, scoped_refptr<ResourceInfo>>
57 RequestToInfoMap;
54 RequestToInfoMap request_to_info_; 58 RequestToInfoMap request_to_info_;
55 59
56 DISALLOW_COPY_AND_ASSIGN(DevToolsNetLogObserver); 60 DISALLOW_COPY_AND_ASSIGN(DevToolsNetLogObserver);
57 }; 61 };
58 62
59 } // namespace content 63 } // namespace content
60 64
61 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_NETLOG_OBSERVER_H_ 65 #endif // CONTENT_BROWSER_DEVTOOLS_DEVTOOLS_NETLOG_OBSERVER_H_
OLDNEW
« no previous file with comments | « content/browser/devtools/devtools_manager_unittest.cc ('k') | content/browser/devtools/devtools_netlog_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698