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

Side by Side Diff: android_webview/browser/permission/simple_permission_request.h

Issue 2928823004: Fix header guard and namespace in android_webview (Closed)
Patch Set: Fix header guard and namespace in android_webview Created 3 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 2014 The Chromium Authors. All rights reserved. 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 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 ANDROID_WEBVIEW_NATIVE_PERMISSION_SIMPLE_PERMISSION_REQUEST_H 5 #ifndef ANDROID_WEBVIEW_BROWSER_PERMISSION_SIMPLE_PERMISSION_REQUEST_H_
6 #define ANDROID_WEBVIEW_NATIVE_PERMISSION_SIMPLE_PERMISSION_REQUEST_H 6 #define ANDROID_WEBVIEW_BROWSER_PERMISSION_SIMPLE_PERMISSION_REQUEST_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "android_webview/browser/permission/aw_permission_request_delegate.h" 10 #include "android_webview/browser/permission/aw_permission_request_delegate.h"
11 #include "base/callback.h" 11 #include "base/callback.h"
12 #include "base/macros.h" 12 #include "base/macros.h"
13 13
14 namespace android_webview { 14 namespace android_webview {
15 15
16 // The class is used to handle the simple permission request which just needs 16 // The class is used to handle the simple permission request which just needs
(...skipping 13 matching lines...) Expand all
30 private: 30 private:
31 const GURL origin_; 31 const GURL origin_;
32 int64_t resources_; 32 int64_t resources_;
33 const base::Callback<void(bool)> callback_; 33 const base::Callback<void(bool)> callback_;
34 34
35 DISALLOW_COPY_AND_ASSIGN(SimplePermissionRequest); 35 DISALLOW_COPY_AND_ASSIGN(SimplePermissionRequest);
36 }; 36 };
37 37
38 } // namespace android_webview 38 } // namespace android_webview
39 39
40 #endif // ANDROID_WEBVIEW_NATIVE_PERMISSION_PROTECTED_MEDIA_ID_PERMISSION_REQUE ST_H 40 #endif // ANDROID_WEBVIEW_BROWSER_PERMISSION_SIMPLE_PERMISSION_REQUEST_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698