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

Side by Side Diff: chrome/browser/sync/glue/data_type_manager.h

Issue 7039020: Tag all tracked objects, including Tasks, with the program counter at the site of FROM_HERE. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « base/tracked.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 CHROME_BROWSER_SYNC_GLUE_DATA_TYPE_MANAGER_H__ 5 #ifndef CHROME_BROWSER_SYNC_GLUE_DATA_TYPE_MANAGER_H__
6 #define CHROME_BROWSER_SYNC_GLUE_DATA_TYPE_MANAGER_H__ 6 #define CHROME_BROWSER_SYNC_GLUE_DATA_TYPE_MANAGER_H__
7 #pragma once 7 #pragma once
8 8
9 #include <set> 9 #include <set>
10 10
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
59 59
60 ConfigureResultWithErrorLocation(); 60 ConfigureResultWithErrorLocation();
61 ConfigureResultWithErrorLocation(const ConfigureResult& result, 61 ConfigureResultWithErrorLocation(const ConfigureResult& result,
62 const tracked_objects::Location& location, 62 const tracked_objects::Location& location,
63 const TypeSet& requested_types) 63 const TypeSet& requested_types)
64 : result(result), 64 : result(result),
65 requested_types(requested_types) { 65 requested_types(requested_types) {
66 this->location.reset(new tracked_objects::Location( 66 this->location.reset(new tracked_objects::Location(
67 location.function_name(), 67 location.function_name(),
68 location.file_name(), 68 location.file_name(),
69 location.line_number())); 69 location.line_number(),
70 location.program_counter()));
70 } 71 }
71 72
72 ~ConfigureResultWithErrorLocation(); 73 ~ConfigureResultWithErrorLocation();
73 }; 74 };
74 75
75 76
76 virtual ~DataTypeManager() {} 77 virtual ~DataTypeManager() {}
77 78
78 // Begins asynchronous configuration of data types. Any currently 79 // Begins asynchronous configuration of data types. Any currently
79 // running data types that are not in the desired_types set will be 80 // running data types that are not in the desired_types set will be
(...skipping 19 matching lines...) Expand all
99 // Reference to map of data type controllers. 100 // Reference to map of data type controllers.
100 virtual const DataTypeController::TypeMap& controllers() = 0; 101 virtual const DataTypeController::TypeMap& controllers() = 0;
101 102
102 // The current state of the data type manager. 103 // The current state of the data type manager.
103 virtual State state() = 0; 104 virtual State state() = 0;
104 }; 105 };
105 106
106 } // namespace browser_sync 107 } // namespace browser_sync
107 108
108 #endif // CHROME_BROWSER_SYNC_GLUE_DATA_TYPE_MANAGER_H__ 109 #endif // CHROME_BROWSER_SYNC_GLUE_DATA_TYPE_MANAGER_H__
OLDNEW
« no previous file with comments | « base/tracked.cc ('k') | chrome/browser/sync/profile_sync_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698