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

Unified Diff: chrome/common/extensions/docs/server2/sidenav_data_source.py

Issue 14267024: Devserver: have a separate ObjectStore namespace (both memcache and datastore) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove _CheckVersions Created 7 years, 8 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 side-by-side diff with in-line comments
Download patch
Index: chrome/common/extensions/docs/server2/sidenav_data_source.py
diff --git a/chrome/common/extensions/docs/server2/sidenav_data_source.py b/chrome/common/extensions/docs/server2/sidenav_data_source.py
index 679345636d98754b619173e8d0d684c96297dc9d..f340eb891159f106bc2abbda6649b6dc7952f23c 100644
--- a/chrome/common/extensions/docs/server2/sidenav_data_source.py
+++ b/chrome/common/extensions/docs/server2/sidenav_data_source.py
@@ -9,9 +9,6 @@ import logging
import compiled_file_system as compiled_fs
from third_party.json_schema_compiler.model import UnixName
-# Increment this if the data model changes for SidenavDataSource.
-_VERSION = 1
-
class SidenavDataSource(object):
"""This class reads in and caches a JSON file representing the side navigation
menu.
@@ -19,8 +16,7 @@ class SidenavDataSource(object):
class Factory(object):
def __init__(self, compiled_fs_factory, json_path):
self._cache = compiled_fs_factory.Create(self._CreateSidenavDict,
- SidenavDataSource,
- version=_VERSION)
+ SidenavDataSource)
self._json_path = json_path
def Create(self, path):

Powered by Google App Engine
This is Rietveld 408576698