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

Side by Side Diff: extensions/browser/api/api_resource.h

Issue 1549643002: Switch to standard integer types in extensions/browser/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@clean
Patch Set: Created 5 years 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_BROWSER_API_API_RESOURCE_H_ 5 #ifndef EXTENSIONS_BROWSER_API_API_RESOURCE_H_
6 #define EXTENSIONS_BROWSER_API_API_RESOURCE_H_ 6 #define EXTENSIONS_BROWSER_API_API_RESOURCE_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/macros.h"
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "content/public/browser/browser_thread.h" 10 #include "content/public/browser/browser_thread.h"
11 #include "extensions/common/extension.h" 11 #include "extensions/common/extension.h"
12 12
13 namespace extensions { 13 namespace extensions {
14 14
15 // An ApiResource represents something that an extension API manages, such as a 15 // An ApiResource represents something that an extension API manages, such as a
16 // socket or a serial-port connection. Typically, an ApiResourceManager will 16 // socket or a serial-port connection. Typically, an ApiResourceManager will
17 // control the lifetime of all ApiResources of a specific derived type. 17 // control the lifetime of all ApiResources of a specific derived type.
18 class ApiResource { 18 class ApiResource {
(...skipping 15 matching lines...) Expand all
34 private: 34 private:
35 // The extension that owns this resource. 35 // The extension that owns this resource.
36 const std::string owner_extension_id_; 36 const std::string owner_extension_id_;
37 37
38 DISALLOW_COPY_AND_ASSIGN(ApiResource); 38 DISALLOW_COPY_AND_ASSIGN(ApiResource);
39 }; 39 };
40 40
41 } // namespace extensions 41 } // namespace extensions
42 42
43 #endif // EXTENSIONS_BROWSER_API_API_RESOURCE_H_ 43 #endif // EXTENSIONS_BROWSER_API_API_RESOURCE_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698