hunspell: Cleanup to fix the header include guards under google/ directory.
[chromium-blink-merge.git] / ios / web / net / request_tracker_factory_impl.h
blob2d0bfc4c8f971b1dcd6fe8caef4e722322304e7e
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
3 // found in the LICENSE file.
5 #ifndef IOS_WEB_NET_REQUEST_TRACKER_FACTORY_IMPL_H_
6 #define IOS_WEB_NET_REQUEST_TRACKER_FACTORY_IMPL_H_
8 #include <string>
10 #include "base/mac/scoped_nsobject.h"
11 #include "ios/net/request_tracker.h"
13 namespace web {
15 class RequestTrackerFactoryImpl
16 : public net::RequestTracker::RequestTrackerFactory {
17 public:
18 explicit RequestTrackerFactoryImpl(const std::string& application_scheme);
19 ~RequestTrackerFactoryImpl() override;
21 private:
22 // RequestTracker::RequestTrackerFactory implementation
23 bool GetRequestTracker(NSURLRequest* request,
24 base::WeakPtr<net::RequestTracker>* tracker) override;
26 base::scoped_nsobject<NSString> application_scheme_;
29 } // namespace web
31 #endif // IOS_WEB_NET_REQUEST_TRACKER_FACTORY_IMPL_H_