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

Side by Side Diff: extensions/common/permissions/settings_override_permission.h

Issue 1149113006: Move Pickle to base namespace. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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 EXTENSIONS_COMMON_PERMISSIONS_SETTINGS_OVERRIDE_PERMISSION_H_ 5 #ifndef EXTENSIONS_COMMON_PERMISSIONS_SETTINGS_OVERRIDE_PERMISSION_H_
6 #define EXTENSIONS_COMMON_PERMISSIONS_SETTINGS_OVERRIDE_PERMISSION_H_ 6 #define EXTENSIONS_COMMON_PERMISSIONS_SETTINGS_OVERRIDE_PERMISSION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "extensions/common/permissions/api_permission.h" 10 #include "extensions/common/permissions/api_permission.h"
(...skipping 17 matching lines...) Expand all
28 bool Equal(const APIPermission* rhs) const override; 28 bool Equal(const APIPermission* rhs) const override;
29 bool FromValue(const base::Value* value, 29 bool FromValue(const base::Value* value,
30 std::string* error, 30 std::string* error,
31 std::vector<std::string>* unhandled_permissions) override; 31 std::vector<std::string>* unhandled_permissions) override;
32 scoped_ptr<base::Value> ToValue() const override; 32 scoped_ptr<base::Value> ToValue() const override;
33 APIPermission* Clone() const override; 33 APIPermission* Clone() const override;
34 APIPermission* Diff(const APIPermission* rhs) const override; 34 APIPermission* Diff(const APIPermission* rhs) const override;
35 APIPermission* Union(const APIPermission* rhs) const override; 35 APIPermission* Union(const APIPermission* rhs) const override;
36 APIPermission* Intersect(const APIPermission* rhs) const override; 36 APIPermission* Intersect(const APIPermission* rhs) const override;
37 void Write(IPC::Message* m) const override; 37 void Write(IPC::Message* m) const override;
38 bool Read(const IPC::Message* m, PickleIterator* iter) override; 38 bool Read(const IPC::Message* m, base::PickleIterator* iter) override;
39 void Log(std::string* log) const override; 39 void Log(std::string* log) const override;
40 40
41 private: 41 private:
42 std::string setting_value_; 42 std::string setting_value_;
43 }; 43 };
44 44
45 } // namespace extensions 45 } // namespace extensions
46 46
47 #endif // EXTENSIONS_COMMON_PERMISSIONS_SETTINGS_OVERRIDE_PERMISSION_H_ 47 #endif // EXTENSIONS_COMMON_PERMISSIONS_SETTINGS_OVERRIDE_PERMISSION_H_
OLDNEW
« no previous file with comments | « extensions/common/permissions/set_disjunction_permission.h ('k') | extensions/common/user_script.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698