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

Side by Side Diff: content/browser/intents/intent_injector.h

Issue 10696166: Remove #pragma once from content (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
« no previous file with comments | « content/browser/in_process_webkit/webkit_thread.h ('k') | content/browser/mach_broker_mac.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_INTENTS_INTENT_INJECTOR_H_ 5 #ifndef CONTENT_BROWSER_INTENTS_INTENT_INJECTOR_H_
6 #define CONTENT_BROWSER_INTENTS_INTENT_INJECTOR_H_ 6 #define CONTENT_BROWSER_INTENTS_INTENT_INJECTOR_H_
7 #pragma once
8 7
9 #include "base/basictypes.h" 8 #include "base/basictypes.h"
10 #include "base/gtest_prod_util.h" 9 #include "base/gtest_prod_util.h"
11 #include "base/memory/scoped_ptr.h" 10 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
13 #include "base/string16.h" 12 #include "base/string16.h"
14 #include "content/public/browser/web_contents_observer.h" 13 #include "content/public/browser/web_contents_observer.h"
15 #include "content/common/content_export.h" 14 #include "content/common/content_export.h"
16 #include "googleurl/src/gurl.h" 15 #include "googleurl/src/gurl.h"
17 #include "webkit/glue/web_intent_reply_data.h" 16 #include "webkit/glue/web_intent_reply_data.h"
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 GURL initial_url_; 83 GURL initial_url_;
85 84
86 // The injector may be Abandon()ed and deleted before the dispatcher. Use weak 85 // The injector may be Abandon()ed and deleted before the dispatcher. Use weak
87 // pointers to ensure the notification callback remains valid. 86 // pointers to ensure the notification callback remains valid.
88 base::WeakPtrFactory<IntentInjector> weak_factory_; 87 base::WeakPtrFactory<IntentInjector> weak_factory_;
89 88
90 DISALLOW_COPY_AND_ASSIGN(IntentInjector); 89 DISALLOW_COPY_AND_ASSIGN(IntentInjector);
91 }; 90 };
92 91
93 #endif // CONTENT_BROWSER_INTENTS_INTENT_INJECTOR_H_ 92 #endif // CONTENT_BROWSER_INTENTS_INTENT_INJECTOR_H_
OLDNEW
« no previous file with comments | « content/browser/in_process_webkit/webkit_thread.h ('k') | content/browser/mach_broker_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698