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

Side by Side Diff: third_party/WebKit/Source/modules/app_banner/AppBannerPromptResult.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 AppBannerPromptResult_h 5 #ifndef AppBannerPromptResult_h
6 #define AppBannerPromptResult_h 6 #define AppBannerPromptResult_h
7 7
8 #include "bindings/core/v8/ScriptWrappable.h" 8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "public/platform/modules/app_banner/WebAppBannerPromptResult.h" 9 #include "public/platform/modules/app_banner/WebAppBannerPromptResult.h"
10 #include "wtf/Noncopyable.h" 10 #include "wtf/Noncopyable.h"
11 #include "wtf/PassOwnPtr.h"
12 #include "wtf/text/WTFString.h" 11 #include "wtf/text/WTFString.h"
13 12
14 namespace blink { 13 namespace blink {
15 14
16 class ScriptPromiseResolver; 15 class ScriptPromiseResolver;
17 16
18 class AppBannerPromptResult final : public GarbageCollectedFinalized<AppBannerPr omptResult>, public ScriptWrappable { 17 class AppBannerPromptResult final : public GarbageCollectedFinalized<AppBannerPr omptResult>, public ScriptWrappable {
19 DEFINE_WRAPPERTYPEINFO(); 18 DEFINE_WRAPPERTYPEINFO();
20 WTF_MAKE_NONCOPYABLE(AppBannerPromptResult); 19 WTF_MAKE_NONCOPYABLE(AppBannerPromptResult);
21 public: 20 public:
(...skipping 12 matching lines...) Expand all
34 private: 33 private:
35 AppBannerPromptResult(const AtomicString& platform, WebAppBannerPromptResult ::Outcome); 34 AppBannerPromptResult(const AtomicString& platform, WebAppBannerPromptResult ::Outcome);
36 35
37 String m_platform; 36 String m_platform;
38 WebAppBannerPromptResult::Outcome m_outcome; 37 WebAppBannerPromptResult::Outcome m_outcome;
39 }; 38 };
40 39
41 } // namespace blink 40 } // namespace blink
42 41
43 #endif // AppBannerPromptResult_h 42 #endif // AppBannerPromptResult_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698