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

Side by Side Diff: chrome/common/property_bag.cc

Issue 3120021: FBTF: Header cleanup in chrome/common part 2. The majority of the changed files (Closed)
Patch Set: Win fix 2. Created 10 years, 4 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
« no previous file with comments | « chrome/common/property_bag.h ('k') | chrome/common/serialized_script_value.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) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 #include "base/linked_ptr.h"
5 #include "chrome/common/property_bag.h" 6 #include "chrome/common/property_bag.h"
6 7
7 PropertyBag::PropertyBag() { 8 PropertyBag::PropertyBag() {
8 } 9 }
9 10
10 PropertyBag::PropertyBag(const PropertyBag& other) { 11 PropertyBag::PropertyBag(const PropertyBag& other) {
11 operator=(other); 12 operator=(other);
12 } 13 }
13 14
14 PropertyBag::~PropertyBag() { 15 PropertyBag::~PropertyBag() {
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 PropertyMap::iterator found = props_.find(id); 47 PropertyMap::iterator found = props_.find(id);
47 if (found == props_.end()) 48 if (found == props_.end())
48 return; // Not found, nothing to do. 49 return; // Not found, nothing to do.
49 props_.erase(found); 50 props_.erase(found);
50 } 51 }
51 52
52 PropertyAccessorBase::PropertyAccessorBase() { 53 PropertyAccessorBase::PropertyAccessorBase() {
53 static PropertyBag::PropID next_id = 1; 54 static PropertyBag::PropID next_id = 1;
54 prop_id_ = next_id++; 55 prop_id_ = next_id++;
55 } 56 }
OLDNEW
« no previous file with comments | « chrome/common/property_bag.h ('k') | chrome/common/serialized_script_value.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698