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

Side by Side Diff: chrome/browser/devtools/devtools_network_controller.h

Issue 1099383002: Change ScopedPtrHashMap's 2nd template parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_CONTROLLER_H_ 5 #ifndef CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_CONTROLLER_H_
6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_CONTROLLER_H_ 6 #define CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_CONTROLLER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/containers/scoped_ptr_hash_map.h" 10 #include "base/containers/scoped_ptr_hash_map.h"
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 // Controller must be constructed on IO thread. 43 // Controller must be constructed on IO thread.
44 base::ThreadChecker thread_checker_; 44 base::ThreadChecker thread_checker_;
45 45
46 void SetNetworkStateOnIO( 46 void SetNetworkStateOnIO(
47 const std::string& client_id, 47 const std::string& client_id,
48 scoped_ptr<DevToolsNetworkConditions> conditions); 48 scoped_ptr<DevToolsNetworkConditions> conditions);
49 49
50 typedef scoped_ptr<DevToolsNetworkInterceptor> Interceptor; 50 typedef scoped_ptr<DevToolsNetworkInterceptor> Interceptor;
51 Interceptor default_interceptor_; 51 Interceptor default_interceptor_;
52 Interceptor appcache_interceptor_; 52 Interceptor appcache_interceptor_;
53 typedef base::ScopedPtrHashMap<std::string, DevToolsNetworkInterceptor> 53 typedef base::ScopedPtrHashMap<std::string,
54 scoped_ptr<DevToolsNetworkInterceptor>>
54 Interceptors; 55 Interceptors;
55 Interceptors interceptors_; 56 Interceptors interceptors_;
56 57
57 base::WeakPtrFactory<DevToolsNetworkController> weak_ptr_factory_; 58 base::WeakPtrFactory<DevToolsNetworkController> weak_ptr_factory_;
58 59
59 DISALLOW_COPY_AND_ASSIGN(DevToolsNetworkController); 60 DISALLOW_COPY_AND_ASSIGN(DevToolsNetworkController);
60 }; 61 };
61 62
62 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_CONTROLLER_H_ 63 #endif // CHROME_BROWSER_DEVTOOLS_DEVTOOLS_NETWORK_CONTROLLER_H_
OLDNEW
« no previous file with comments | « chrome/browser/devtools/device/usb/android_usb_browsertest.cc ('k') | chrome/browser/extensions/extension_management.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698