Page Speed Optimization Libraries  1.9.32.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
wget_url_fetcher.h
Go to the documentation of this file.
1 /*
2  * Copyright 2010 Google Inc.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http:///www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
19 
20 #ifndef NET_INSTAWEB_HTTP_PUBLIC_WGET_URL_FETCHER_H_
21 #define NET_INSTAWEB_HTTP_PUBLIC_WGET_URL_FETCHER_H_
22 
24 #include "pagespeed/kernel/base/basictypes.h"
25 #include "pagespeed/kernel/base/string.h"
26 #include "pagespeed/kernel/base/string_util.h"
27 
28 namespace net_instaweb {
29 
31  public:
33  virtual ~WgetUrlFetcher() {}
34 
35  private:
36  virtual GoogleString ConstructFetchCommand(
37  const GoogleString& escaped_url,
38  const char* user_agent,
39  const StringVector& escaped_headers);
40  virtual const char* GetFetchLabel();
41 
42  DISALLOW_COPY_AND_ASSIGN(WgetUrlFetcher);
43 };
44 
45 }
46 
47 #endif
Definition: wget_url_fetcher.h:30
Definition: external_url_fetcher.h:39