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

Side by Side Diff: chrome/browser/extensions/autoupdate_interceptor.h

Issue 10698144: Remove #pragma once from chrome/browser/extensions (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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_EXTENSIONS_AUTOUPDATE_INTERCEPTOR_H_ 5 #ifndef CHROME_BROWSER_EXTENSIONS_AUTOUPDATE_INTERCEPTOR_H_
6 #define CHROME_BROWSER_EXTENSIONS_AUTOUPDATE_INTERCEPTOR_H_ 6 #define CHROME_BROWSER_EXTENSIONS_AUTOUPDATE_INTERCEPTOR_H_
7 #pragma once
8 7
9 #include <map> 8 #include <map>
10 #include <string> 9 #include <string>
11 10
12 #include "googleurl/src/gurl.h" 11 #include "googleurl/src/gurl.h"
13 #include "net/url_request/url_request.h" 12 #include "net/url_request/url_request.h"
14 13
15 // This url request interceptor lets us respond to localhost http request urls 14 // This url request interceptor lets us respond to localhost http request urls
16 // with the contents of files on disk for use in tests. 15 // with the contents of files on disk for use in tests.
17 class AutoUpdateInterceptor 16 class AutoUpdateInterceptor
(...skipping 19 matching lines...) Expand all
37 friend class base::RefCountedThreadSafe<AutoUpdateInterceptor>; 36 friend class base::RefCountedThreadSafe<AutoUpdateInterceptor>;
38 37
39 virtual ~AutoUpdateInterceptor(); 38 virtual ~AutoUpdateInterceptor();
40 39
41 std::map<GURL, FilePath> responses_; 40 std::map<GURL, FilePath> responses_;
42 41
43 DISALLOW_COPY_AND_ASSIGN(AutoUpdateInterceptor); 42 DISALLOW_COPY_AND_ASSIGN(AutoUpdateInterceptor);
44 }; 43 };
45 44
46 #endif // CHROME_BROWSER_EXTENSIONS_AUTOUPDATE_INTERCEPTOR_H_ 45 #endif // CHROME_BROWSER_EXTENSIONS_AUTOUPDATE_INTERCEPTOR_H_
OLDNEW
« no previous file with comments | « chrome/browser/extensions/apps_promo.h ('k') | chrome/browser/extensions/browser_action_test_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698